All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC v4 0/9] Additional kmsg devices
@ 2015-10-19 16:49 Paul Osmialowski
  2015-10-19 16:49 ` [RFC v4 1/9] printk: extract kmsg-related routines from printk.c to kmsg.c Paul Osmialowski
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Paul Osmialowski @ 2015-10-19 16:49 UTC (permalink / raw)
  To: Jonathan Corbet, Arnd Bergmann, Andrew Morton, Petr Mladek,
	Greg Kroah-Hartman, Daniel Mack, Kay Sievers, Joe Perches,
	Tejun Heo, linux-kernel, linux-doc, linux-api
  Cc: Richard Weinberger, Marcin Niesluchowski, Karol Lewandowski,
	Paul Osmialowski, Bartlomiej Zolnierkiewicz, Shuah Khan

Dear All,

This is the fourth iteration of Marcin Niesluchowski's serie of patches
extending kmsg interface with ability to dynamically create (and destroy)
kmsg-like devices which can be used by userspace for logging.

In this iteration, problems spotted by kbuild test robot are addressed.

Also problem with inproper use of copy_from_user() spotted by
Arnd Bergmanns is fixed (Thanks Arnd!).

I would like to apologize to Richard for omitting him in the CC. This was
unintended.

I do realise that there is a strong movement against putting into kernel
things that could be done in userpsace, however a large number of diverse
environments in which Linux can operate entails greater flexibility in our
perception of what should be in userspace and what should be (carefully)
embraced by the kernel.

Best regards,
Paul

Marcin Niesluchowski (7):
  printk: add one function for storing log in proper format
  kmsg: introduce additional kmsg devices support
  kmsg: add additional buffers support to memory class
  kmsg: add function for adding and deleting additional buffers
  kmsg: add ioctl for adding and deleting kmsg* devices
  kmsg: add ioctl for kmsg* devices operating on buffers
  kmsg: add predefined _PID, _TID, _COMM keywords to kmsg* log dict

Paul Osmialowski (2):
  printk: extract kmsg-related routines from printk.c to kmsg.c
  kmsg: selftests

 Documentation/ioctl/ioctl-number.txt               |    1 +
 drivers/char/mem.c                                 |   27 +-
 fs/proc/kmsg.c                                     |    4 +-
 include/linux/printk.h                             |   48 +
 include/uapi/linux/Kbuild                          |    1 +
 include/uapi/linux/kmsg_ioctl.h                    |   45 +
 kernel/printk/Makefile                             |    1 +
 kernel/printk/kmsg.c                               | 1054 +++++++++++++++++
 kernel/printk/printk.c                             | 1251 +++++---------------
 kernel/printk/printk.h                             |  256 ++++
 samples/kmsg/kmsg-api.h                            |   44 +
 tools/testing/selftests/Makefile                   |    1 +
 tools/testing/selftests/kmsg/.gitignore            |    1 +
 tools/testing/selftests/kmsg/Makefile              |   30 +
 tools/testing/selftests/kmsg/kmsg-test.c           |  329 +++++
 tools/testing/selftests/kmsg/kmsg-test.h           |   34 +
 tools/testing/selftests/kmsg/test-buffer-add-del.c |   76 ++
 .../kmsg/test-buffer-add-write-read-del.c          |  161 +++
 .../kmsg/test-buffer-buf-multithreaded-torture.c   |  199 ++++
 .../selftests/kmsg/test-buffer-buf-torture.c       |  139 +++
 20 files changed, 2737 insertions(+), 965 deletions(-)
 create mode 100644 include/uapi/linux/kmsg_ioctl.h
 create mode 100644 kernel/printk/kmsg.c
 create mode 100644 kernel/printk/printk.h
 create mode 100644 samples/kmsg/kmsg-api.h
 create mode 100644 tools/testing/selftests/kmsg/.gitignore
 create mode 100644 tools/testing/selftests/kmsg/Makefile
 create mode 100644 tools/testing/selftests/kmsg/kmsg-test.c
 create mode 100644 tools/testing/selftests/kmsg/kmsg-test.h
 create mode 100644 tools/testing/selftests/kmsg/test-buffer-add-del.c
 create mode 100644 tools/testing/selftests/kmsg/test-buffer-add-write-read-del.c
 create mode 100644 tools/testing/selftests/kmsg/test-buffer-buf-multithreaded-torture.c
 create mode 100644 tools/testing/selftests/kmsg/test-buffer-buf-torture.c

-- 
1.9.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2015-10-20 13:37 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-19 16:49 [RFC v4 0/9] Additional kmsg devices Paul Osmialowski
2015-10-19 16:49 ` [RFC v4 1/9] printk: extract kmsg-related routines from printk.c to kmsg.c Paul Osmialowski
2015-10-19 16:49 ` [RFC v4 2/9] printk: add one function for storing log in proper format Paul Osmialowski
2015-10-19 16:49 ` [RFC v4 3/9] kmsg: introduce additional kmsg devices support Paul Osmialowski
2015-10-19 16:49 ` [RFC v4 4/9] kmsg: add additional buffers support to memory class Paul Osmialowski
2015-10-19 16:50 ` [RFC v4 5/9] kmsg: add function for adding and deleting additional buffers Paul Osmialowski
2015-10-19 16:50 ` [RFC v4 6/9] kmsg: add ioctl for adding and deleting kmsg* devices Paul Osmialowski
2015-10-19 16:50 ` [RFC v4 8/9] kmsg: add predefined _PID, _TID, _COMM keywords to kmsg* log dict Paul Osmialowski
     [not found] ` <1445273404-24562-1-git-send-email-p.osmialowsk-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-10-19 16:50   ` [RFC v4 7/9] kmsg: add ioctl for kmsg* devices operating on buffers Paul Osmialowski
2015-10-19 16:50     ` Paul Osmialowski
2015-10-19 16:50   ` [RFC v4 9/9] kmsg: selftests Paul Osmialowski
2015-10-19 16:50     ` Paul Osmialowski
2015-10-19 19:28     ` Shuah Khan
2015-10-20 11:10       ` Paul Osmialowski
2015-10-20 13:24         ` Paul Osmialowski
2015-10-20 13:37         ` Shuah Khan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.