reading from /proc/kcore

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

 



Hello everybody,

         I need to save the current state of the kernel. For this I am
reading the /proc/kcore file. As my understanding goes /proc/kcore gives
the whole memory of the system and is dynamic. Is it possible to use a
kernel lock mechanism like BKL so that when reading from this file, the
file doesnt change ? Any comments on this approach or any new suggestions
will be appretiated.


regards,

Sabyasachi Pradhan.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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