On Mon 23 Jul 2007 16:15, Andrew Morton pondered:
> This code would be
> simpler if it did not attempt to read more than one char at a time. It
> will be plenty fast enough.
When systems have NMI kick off due to power failure, and you want to grab the
log buffer to write it to flash before power really dies - every cycle
counts.
A single function which does the copy as a loop (existing) is going to be much
faster than the overhead of 1024 function calls to copy the last k.
> The magical interpretation of len isn't very nice.
There are lots of places in the kernel which have magic in them :)
-Robin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]