|
Adding new fields to struct page
Hi , I would like to add a new field to struct page. This is for measuring the page usage statistics . However, the kernel fail to boot up once I add a new field. I feel that there are some compiler attributes that need to be set in order to modify the page struct. However , I could not find any documentation that describes this. Any pointers on this would be greatly appreciated.
Thanks
Details : linux kernel version : 2.6.31.4
Platform : x86-64
Last edited by mmmmec; 01-29-2012 at 08:59 PM.
Reason: Added version of Linux kernel and other details
|