|
From: Nicholas N. <nj...@ca...> - 2004-07-27 10:45:54
|
On Mon, 26 Jul 2004, Jeremy Fitzhardinge wrote: > There's a few syscalls in which POST should be called on error exit > (nanosleep, for example, needs to return the amount of unslept time on > interrupt). I've been thinking that we should change may_block in > sys_info into a bitfield, and encode a little more in there - like > whether the syscall wants POST called on failure. > > (Another reason for this would be to allow conditional may_block-ness. > Change PRE() to return a boolean, and add a flag into sys_info saying > use the result of PRE rather than a fixed value for blockness. We could > just change all the PREs to return the appropriate thing, or just use > the existing value in the table.) Both ideas sound good to me. N |