Re: Common 04/22] [slab] Use page struct fields instead of casting

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

 



>> Index: linux-2.6/include/linux/mm_types.h
>> ===================================================================
>> --- linux-2.6.orig/include/linux/mm_types.h   2012-05-22 09:05:49.716464025 -0500
>> +++ linux-2.6/include/linux/mm_types.h        2012-05-22 09:21:28.532444572 -0500
>> @@ -90,6 +90,10 @@ struct page {
>>                               atomic_t _count;                /* Usage count, see below. */
>>                       };
>>               };
>> +             struct {                /* SLAB */
>> +                     struct kmem_cache *slab_cache;
>> +                     struct slab *slab_page;
>> +             };
>>       };
>>
>>       /* Third double word block */
>
> The lru fields are in the third double word block.

Yes.
This patch is different with "Common functionality V2 - [2/12]" which I review.
I think fix is needed.
ÿôèº{.nÇ+?·ÿ±éÝjg¬±¨Â+aþéì¹»®&Þ?)îÇù¦þ)í?æèw+h?¨è­Ú&£ù/iÉÿ¢¸ÿ?梷¢?ú(?¸§»þÇ?þm§ÿÿÃÿ?)îÇù¦þ?àÿñb?n?ö¢®×¥yÊ&?{^®w­r«?ë"?&§iÖÿ²('?Ûiÿÿì¶?m?é?µêÿq¯Ã¢ízf¢?ÿÚ?·??ÚÿýÚ'·ù/iÉÿ¢¸ÿýé??_佧$þ?àÿöÿ



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]