Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1339142

Processes attached to shared memory

From "W. Michael Petullo" <mike@flyn.org>
Newsgroups linux.kernel
Subject Processes attached to shared memory
Date 2016-02-22 06:50 +0100
Message-ID <r4RxE-WH-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Processes attached to shared memory "W. Michael Petullo" <mike@flyn.org> - 2016-02-22 06:50 +0100

csiph-web