Re: Why is kmem_bufctl_t different across platforms?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kyle Moffett <[email protected]> wrote:
>
> While exploring the asm-*/types.h files, I discovered that the
>  type "kmem_bufctl_t" is differently defined across each platform,
>  sometimes as a short, and sometimes as an int.  The only file
>  where it's used is mm/slab.c, and as far as I can tell, that file
>  doesn't care at all, aside from preferring it to be a small-sized
>  type.

I don't think there's any good reason for this.  -mm's
slab-leak-detector.patch switches them all to unsigned long.
-
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]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux