From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f195.google.com ([209.85.192.195]:42505 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934507AbeGFTcp (ORCPT ); Fri, 6 Jul 2018 15:32:45 -0400 Received: by mail-pf0-f195.google.com with SMTP id v9-v6so9185459pff.9 for ; Fri, 06 Jul 2018 12:32:45 -0700 (PDT) From: Omar Sandoval To: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Alexey Dobriyan Cc: Eric Biederman , kernel-team@fb.com Subject: [PATCH 0/7] /proc/kcore improvements Date: Fri, 6 Jul 2018 12:32:31 -0700 Message-Id: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: From: Omar Sandoval Hi, This series makes a few improvements to /proc/kcore. Patches 1 and 2 are prep patches. Patch 3 is a fix/cleanup. Patch 4 is another prep patch. Patches 5 and 6 are optimizations to ->read(). Patch 7 adds vmcoreinfo to /proc/kcore. This series is based on v4.18-rc3. Please consider it for v4.19. Thanks! Omar Sandoval (7): proc/kcore: don't grab lock for kclist_add() proc/kcore: replace kclist_lock rwlock with rwsem proc/kcore: fix memory hotplug vs multiple opens race proc/kcore: hold lock during read proc/kcore: clean up ELF header generation proc/kcore: optimize multiple page reads proc/kcore: add vmcoreinfo note to /proc/kcore fs/proc/Kconfig | 1 + fs/proc/kcore.c | 524 +++++++++++++++++-------------------- include/linux/crash_core.h | 2 + kernel/crash_core.c | 4 +- 4 files changed, 241 insertions(+), 290 deletions(-) -- 2.18.0