LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 01-29-2012, 07:41 PM   #1
mmmmec
LQ Newbie
 
Registered: Jan 2012
Posts: 2

Rep: Reputation: Disabled
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
 
Old 02-20-2012, 05:58 AM   #2
washwash
LQ Newbie
 
Registered: Feb 2012
Distribution: Ubuntu
Posts: 1

Rep: Reputation: Disabled
Hello, mmmmec
I recently encounter this question also.
After googling a lot, I still get nothing. (sigh)
Now that you have marked you post as SOLVED, would you share the method with us
Thx in advance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to get kernel struct page size in user space? wdli Linux - Kernel 3 12-13-2011 03:12 PM
[SOLVED] struct page question nakul.k1 Linux - Kernel 5 10-26-2010 03:09 PM
struct file_operations fields Mr.J Linux - Kernel 0 05-27-2009 08:44 AM
Adding fields and doing grand total rainmk Linux - Newbie 7 03-06-2008 07:00 PM
adding to vector<string> in a struct niteshadw Programming 3 02-03-2005 07:08 PM


All times are GMT -5. The time now is 07:45 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration