some basic doubts / confusion regarding linux kernel / OS

2013-10-03 Thread ajay saini
Hi, I had some confusion/doubts regarding Linux kernel / OS and I want to be completely sure that my understanding is right for below, and need your inputs (would be really glad for your help): - There are functions defined in linux kernel. Some of these functions have a line

working of migrate_page (exported) function in mm/migrate.c linux Kernel

2013-09-22 Thread ajay saini
Hi, Anybody knows the working of this function migrate_page (not migrate_pages) defined in mm/migrate.c file (linux 2.6) This function is exported so can be used in a Kernel module. Is it used somewhere ? Can it be used to migrate a page to a different NUMA node from kernel module and How to

Re: working of migrate_page (exported) function in mm/migrate.c linux Kernel

2013-09-22 Thread ajay saini
From: valdis.kletni...@vt.edu valdis.kletni...@vt.edu To: ajay saini ajay_saini1...@yahoo.co.in Cc: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org Sent: Sunday, 22 September 2013 9:53 PM Subject: Re: working of migrate_page (exported) function in mm/migrate.c linux Kernel

Re: Getting struct page pointer from virtual address

2013-09-03 Thread ajay saini
From: ajay saini ajay_saini1...@yahoo.co.in To: kernelnewbies@kernelnewbies.org kernelnewbies@kernelnewbies.org Sent: Tuesday, 3 September 2013 1:21 PM Subject: Getting struct page pointer from virtual address Hey, I am working on a linux kernel module and I have

Given a page, How to get the NUMA node id of this page

2013-08-29 Thread ajay saini
Hi all, I am working on a checkpoint/Restart Linux kernel module.  Wherein, a process sends a request to this module to checkpoint itself. In this process information about the process is stored in a file, which is used later on to restart the process. Now when this module is storing the