On Sun, 18 Nov 2007 19:32:12 -0800 Denys Vlasenko <[EMAIL PROTECTED]> wrote:
> Subject: [PATCH] printk.c: use ints instead of longs for logbuf index
"unsigned ints". It matters - using ints would fill the code with bugs.
> Date: Sun, 18 Nov 2007 19:32:12 -0800
> User-A
Hi Andrew,
This patch stops using unsigned _longs_ for printk
buffer indexes. Log buffer is way smaller than 2 gigabytes
and unsigned ints will work too . Indeed, they do work nicely
on all 32-bit platforms where longs and ints are the same.
With this patch, we have following size savings on amd6
2 matches
Mail list logo