about summary refs log tree commit homepage
path: root/lib/sleepy_penguin/cfr.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sleepy_penguin/cfr.rb')
-rw-r--r--lib/sleepy_penguin/cfr.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sleepy_penguin/cfr.rb b/lib/sleepy_penguin/cfr.rb
index 01cc4a0..845a736 100644
--- a/lib/sleepy_penguin/cfr.rb
+++ b/lib/sleepy_penguin/cfr.rb
@@ -19,6 +19,9 @@ module SleepyPenguin
   #
   # See copy_file_range(2) manpage for full documentation:
   # http://man7.org/linux/man-pages/man2/copy_file_range.2.html
+  #
+  # This method only works in Linux 4.5+ with sleepy_penguin 3.5.0+,
+  # and may require up-to-date kernel headers for non-x86/x86-64 systems.
   def self.copy_file_range(io_in, io_out, len, flags = 0,
                            off_in: nil, off_out: nil)
     __cfr(io_in, off_in, io_out, off_out, len, flags)