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

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

 



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 there's at least onea few lines of the form:

mm/swap_state.c:        .migratepage    = migrate_page,
mm/shmem.c:     .migratepage    = migrate_page,

which means you need to figure out who calls that function pointer.

Attachment: pgp7ayOh6o4aZ.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux