Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1655657
| From | Joe Lawrence <joe.lawrence@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/3] livepatch: add shadow variable API |
| Date | 2017-06-01 20:30 +0200 |
| Message-ID | <tND17-68x-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This patchset is a simplified livepatch port of kpatch's "shadow" variable API [1]. The kpatch project has successfully employed such shadow variables to implement patches that have extended data structure elements. This API provides livepatch a means of associating new, shadow data fields with existing data structures. See the first patch for the implementation, the second for further documentation (API, conccurency notes, use-case code snippets) and the third patch for an update to the sample livepatch module using shadow variables. [1] https://github.com/dynup/kpatch/blob/master/kmod/core/shadow.c Joe Lawrence (3): livepatch: introduce shadow variable API livepatch: add shadow variable documentation livepatch: add shadow variable sample program Documentation/livepatch/shadow-vars.txt | 175 ++++++++++++++++++++++++++++++++ include/linux/livepatch.h | 4 + kernel/livepatch/Makefile | 2 +- kernel/livepatch/shadow.c | 115 +++++++++++++++++++++ samples/livepatch/livepatch-sample.c | 39 ++++++- 5 files changed, 333 insertions(+), 2 deletions(-) create mode 100644 Documentation/livepatch/shadow-vars.txt create mode 100644 kernel/livepatch/shadow.c -- 1.8.3.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/3] livepatch: add shadow variable API Joe Lawrence <joe.lawrence@redhat.com> - 2017-06-01 20:30 +0200
[PATCH 3/3] livepatch: add shadow variable sample program Joe Lawrence <joe.lawrence@redhat.com> - 2017-06-01 20:30 +0200
[PATCH 2/3] livepatch: add shadow variable documentation Joe Lawrence <joe.lawrence@redhat.com> - 2017-06-01 20:30 +0200
Re: [PATCH 0/3] livepatch: add shadow variable API Jiri Kosina <jikos@kernel.org> - 2017-06-01 22:10 +0200
Re: [PATCH 0/3] livepatch: add shadow variable API Joe Lawrence <joe.lawrence@redhat.com> - 2017-06-01 22:30 +0200
Re: [PATCH 0/3] livepatch: add shadow variable API Jiri Kosina <jikos@kernel.org> - 2017-06-01 22:40 +0200
csiph-web