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


Groups > linux.kernel > #1339142 > unrolled thread

Processes attached to shared memory

Started by"W. Michael Petullo" <mike@flyn.org>
First post2016-02-22 06:50 +0100
Last post2016-02-22 06:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

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

#1339142 — Processes attached to shared memory

From"W. Michael Petullo" <mike@flyn.org>
Date2016-02-22 06:50 +0100
SubjectProcesses attached to shared memory
Message-ID<r4RxE-WH-13@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web