lkml.org 
[lkml]   [2010]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 12/12] Use down_read_unfair() for /sys/<pid>/exe and /sys/<pid>/maps files
Date
Michel Lespinasse <walken@google.com> wrote:

> - Thread C is a monitoring process trying to read every /proc/pid/maps
> in the system. This requires acquiring the mmap_sem for read. Thread C
> blocks behind B, waiting for A to release the rwsem. If thread C
> could be allowed to run in parallel with A, it would probably get done
> long before thread A's disk access completes, thus not actually slowing
> down thread B.

Is it possible for someone to execute a DoS attack on another process using
a bunch of threads reading /proc/pid/maps?

David


\
 
 \ /
  Last update: 2010-05-12 15:15    [W:0.184 / U:1.808 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site