Processes attached to shared memory
From: W. Michael Petullo
Date: Mon Feb 22 2016 - 00:43:15 EST
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