lkml.org 
[lkml]   [2014]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[RFC PATCH 0/5] introduce proc_inode->pid_entry
Hello,

Obviously not for inclusion. The patches are horrible, break task_nommu.c,
untested, etc. Only to explain what I mean and discuss the intent, at least.
On top of recent /proc/pid/*maps* cleanups I sent.

To me it looks a bit annoying that task_mmu.c needs 6 seq_operations's and
6 file_operations's to handle /proc/pid/*maps*. And _only_ because ->show()
differs.

Eric, et al, what do you think? At least something like 1-3 looks like a
good cleanup imho. And afaics we can do more cleanups on top.

Oleg.

fs/proc/array.c | 17 +---
fs/proc/base.c | 37 +++++++--
fs/proc/inode.c | 1 +
fs/proc/internal.h | 16 ++--
fs/proc/task_mmu.c | 237 +++++++++++++---------------------------------------
5 files changed, 98 insertions(+), 210 deletions(-)



\
 
 \ /
  Last update: 2014-08-08 21:21    [W:0.114 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site