Thread (283 messages) 283 messages, 37 authors, 2007-07-12

Re: Interface for the new fallocate() system call

From: Jan Engelhardt <hidden>
Date: 2007-03-29 18:17:54
Also in: linux-fsdevel, linux-xfs, lkml

 
On Mar 29 2007 13:18, linux-os (Dick Johnson) wrote:
I think it's always better to put only a pointer on the stack as
above.
I have to disagree, since wrapping it into a struct and copying the struct
in kernelspace from userspace requires more code. Pointers only become
useful at 3 (rarely) or 4 (yeah, more likely) and 5+ (definitely)
arguments, (3) see above about copying, (4) middle thing and (5) tons of
arguments like mmap() should be wrapped up... for simplicity of dealing
with it later.


Jan
-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help