lkml.org 
[lkml]   [2008]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] SLUB - define OO_ macro instead of hardcoded numbers
On Wed, 22 Oct 2008, Cyrill Gorcunov wrote:

> +#define OO_SHIFT 16
> +#define OO_MASK ((1 << OO_SHIFT) - 1)
> +#define MAX_OBJS_PER_PAGE 65535 /* see struct page.objects */

This is == OO_MASK right? Otherwise things will break when we change
OO_SHIFT.


\
 
 \ /
  Last update: 2008-10-22 20:15    [W:0.046 / U:2.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site