[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1361921596-9636-1-git-send-email-nzimmer@sgi.com>
Date: Tue, 26 Feb 2013 17:33:14 -0600
From: Nathan Zimmer <nzimmer@....com>
To: unlisted-recipients:; (no To-header on input)
Cc: johnstul@...ibm.com, tglx@...utronix.de, sboyd@...eaurora.org,
akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
Nathan Zimmer <nzimmer@....com>
Subject: [PATCH v3 0/2] timer_list: Fix /proc/timer_list failure on 4096 cpus
On systems with 4096 cores attemping to read /proc/timer_list
fails because we are trying to push all the data into a single
kmalloc buffer.
A better solution is to not us the single_open mechanism but to
provide our own seq_operations and treat each cpu as an
individual record.
The output should be identical to the previous version.
v2: Added comments on the iteration and other fixups pointed to by Andrew.
v3: Corrected the case where max_cpus != nr_cpu_ids by exiting early.
Nathan Zimmer (2):
timer_list: split timer_list_show_tickdevices()
timer_list: convert timer list to be a proper seq_file
kernel/time/timer_list.c | 111 +++++++++++++++++++++++++++++++++++++++--------
1 file changed, 92 insertions(+), 19 deletions(-)
--
1.8.1.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists