All of lore.kernel.org
 help / color / mirror / Atom feed
* memblock_reserve or memblock_remove to reserve a page
@ 2016-09-09  1:31 Nikhil Utane
  2016-09-09  9:29 ` Nikhil Utane
  2016-09-27 10:44 ` Arun Sudhilal
  0 siblings, 2 replies; 16+ messages in thread
From: Nikhil Utane @ 2016-09-09  1:31 UTC (permalink / raw)
  To: kernelnewbies

I want to reserve a physical memory page with a fixed PFN. I do not want
this page to be used by anyone else. I am calling memblock_reserve() to
supposedly reserve the page. I am writing some content into this page. What
I see is that during some runs the content of this page is modified (either
fully or sometimes partially). In few runs, I see it as intact. Is it
expected that even after calling memblock_reserve() the kernel can allocate
this physical page for any other purpose? How is memblock_remove()
different from memblock_reserve? I tried reading up but didn't see any
useful information. What I understood is memblock_remove will completely
remove from kernel's allocation mechanism. Should I then be using remove
instead of reserve?

-Thanks
Nikhil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160909/79f166f2/attachment-0001.html 

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-10-04  5:40 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-09  1:31 memblock_reserve or memblock_remove to reserve a page Nikhil Utane
2016-09-09  9:29 ` Nikhil Utane
2016-09-11  0:38   ` Min-Hua Chen
2016-09-14  7:17     ` Nikhil Utane
2016-09-15  0:05       ` Min-Hua Chen
2016-09-15  8:23         ` Nikhil Utane
2016-09-15 23:22           ` Min-Hua Chen
2016-09-16 10:08             ` Nikhil Utane
2016-09-27 10:44 ` Arun Sudhilal
2016-09-28  9:11   ` Nikhil Utane
2016-09-28  9:42     ` Arun Sudhilal
2016-09-28 13:25       ` Nikhil Utane
2016-09-29  5:55         ` Nikhil Utane
2016-10-03 12:32         ` Arun Sudhilal
2016-10-03 12:45           ` Arun Sudhilal
2016-10-04  5:40             ` Nikhil Utane

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.