[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20160222053546.GA26150@imp.flyn.org>
Date: Mon, 22 Feb 2016 00:35:46 -0500
From: "W. Michael Petullo" <mike@...n.org>
To: linux-kernel@...r.kernel.org
Subject: Processes attached to shared memory
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
Powered by blists - more mailing lists