Re: BSP and the kernel

2013-09-22 Thread Srinivas Ganji
Hi Arun, Generally, the BSP stands for Board Support Package. The elements that are contained in the BSP are 1) Boot Loader 2) OEM Adaptation Layer (OAL) 3) Device Drivers 4) Configuration Files --> Boot Loader downloads the OS images in to the target board --> OAL links the kernel image and sup

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

2013-09-22 Thread ajay saini
Hi, I have read some of these uses (of migrate_page) from linux kernel source code and tried to use this function in my kernel module. But it somehow hangs my module. Linux version : 2.6 and system has 4 NUMA nodes (0-3) and has 16 cores in total. I have done following: ( I already have a point

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

2013-09-22 Thread PMcphoy
Sent from Samsung Mobile Original message From: valdis.kletni...@vt.edu Date: 23/09/2013 02:53 (GMT+00:00) To: ajay saini Cc: kernelnewbies@kernelnewbies.org Subject: Re: working of migrate_page (exported) function in mm/migrate.c linux Kernel _

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

2013-09-22 Thread Valdis . Kletnieks
On Mon, 23 Sep 2013 09:00:21 +0800, ajay saini said: > Is it used somewhere ? [~] cd /usr/src/linux-next/ [/usr/src/linux-next] find [a-z]* -name '*.[ch]' | xargs grep migrate_page | grep -v migrate_pages And start searching from there. You'll probably have to iterate several times, because the

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 t