linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Processes attached to shared memory
@ 2016-02-22  5:35 W. Michael Petullo
  0 siblings, 0 replies; only message in thread
From: W. Michael Petullo @ 2016-02-22  5:35 UTC (permalink / raw)
  To: linux-kernel

Given a struct shmid_kernel, is it possible to find each
process/task_struct which is attached to the shared memory?

I have been trying to use find_get_pages(shmid->shm_file->f_mapping, ...)
along with rmap_walk(...). But what I have come up with seems a little
convoluted and also triggers "BUG: scheduling while atomic" errors.

-- 
Mike

:wq

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-22  5:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22  5:35 Processes attached to shared memory W. Michael Petullo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).