xen/console: configurable conring size
Get series with b4
b4 am [email protected]Versions newest first
- v5 Latest6 patches 12 repliesIn review
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | xen/console: group conring code togetherxen/ | +80 | 2 replies | |
| 2/6 | xen/console: make console buffer size configurabledocs/ xen/ xen/ | +30 | 2 replies | |
| 3/6 | xen/console: promote conring{,_size} to __ro_after_initxen/ | +2 | 2 replies | |
| 4/6 | xen/console: use memcpy() in console_init_ring()xen/ | +15 | 1 reply | |
| 5/6 | xen/console: update conring memory allocationxen/ | +21 | 3 replies | |
| 6/6 | xen/console: add conring buffer size alignment settingxen/ xen/ | +16 | 2 replies |
Reviews trailers per patch
3 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Jason Andryuk | Jan Beulich |
|---|---|---|
| 1/6 | A-b | |
| 2/6 | R-b | |
| 3/6 | A-b | |
| 4/6 | ||
| 5/6 | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/6] xen/console: configurable conring size
This series originates from [1] which addresses feedback [2]. Sending this as v5 since [1] was posted as v4...
Briefly, here is what the series covers:
Patch 1 groups conring code together to better maintainability. There were conring bits all over the place in console.c.
Patch 2 introduces CONRING_CONRING_SHIFT to select compile-time conring buffer size.
Patch 3 updates conring{,_size} annotations to __ro_after_init as per [2].
Patch 4 optimizes switch from early conring to permanent conring.
Patches 5-6 update the conring buffer allocation code and add some verbose logging around buffer size selection.
[1] Link to v4: https://lore.kernel.org/xen-devel/[email protected]/
[2] https://lore.kernel.org/xen-devel/[email protected]
[3] Link to CI: https://gitlab.com/xen-project/people/dmukhin/xen/-/pipelines/2306728453
Denis Mukhin (6):
xen/console: group conring code together xen/console: make console buffer size configurable xen/console: promote conring{,_size} to __ro_after_init xen/console: use memcpy() in console_init_ring() xen/console: update conring memory allocation xen/console: add conring buffer size alignment setting
docs/misc/xen-command-line.pandoc | 5 +- xen/drivers/char/Kconfig | 31 +++++ xen/drivers/char/console.c | 190 +++++++++++++++++------------- 3 files changed, 143 insertions(+), 83 deletions(-)
Signature · 1 line
2.52.0