summaryrefslogtreecommitdiff
BranchCommit messageAuthorAge
follownameLost in the mergeTobias Klauser15 years
masterDynamically allocate inotify read bufferTobias Klauser13 years
pipeRevert "inotail.c: Decrement n_units before calling tail_pipe_from_begin"Tobias Klauser16 years
 
TagDownloadAuthorAge
v0.5commit a9b1b5e00a...Tobias Klauser17 years
v0.4commit 30282557d1...Tobias Klauser17 years
v0.3commit aa67658f45...Tobias Klauser17 years
v0.2commit 5d87c405cc...Tobias Klauser17 years
v0.1commit d5433918e5...Tobias Klauser18 years
cations that are known to be easily triggered from userspace as __GFP_ACCOUNT/SLAB_ACCOUNT, which makes them accounted to memcg. For the list, see below: - threadinfo - task_struct - task_delay_info - pid - cred - mm_struct - vm_area_struct and vm_region (nommu) - anon_vma and anon_vma_chain - signal_struct - sighand_struct - fs_struct - files_struct - fdtable and fdtable->full_fds_bits - dentry and external_name - inode for all filesystems. This is the most tedious part, because most filesystems overwrite the alloc_inode method. The list is far from complete, so feel free to add more objects. Nevertheless, it should be close to "account everything" approach and keep most workloads within bounds. Malevolent users will be able to breach the limit, but this was possible even with the former "account everything" approach (simply because it did not account everything in fact). [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Vladimir Davydov <vdavydov@virtuozzo.com> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Tejun Heo <tj@kernel.org> Cc: Greg Thelen <gthelen@google.com> Cc: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/romfs')