[LTP] [PATCH v4] kernel/uevent: Adjust the number of uevents dynamically in uevent02
Cyril Hrubis
chrubis@suse.cz
Tue Sep 20 15:02:06 CEST 2022
Hi!
> When CONFIG_SMP is not selected, CONFIG_RPS will not be enabled. Causes the
> kernel to not create rx queues in sysfs[1] when creating tun devices.
> Uevent02 will check if the rx queue exists, adjust the uevents dynamically
> in setup() to pass this test.
>
> [1]: https://github.com/torvalds/linux/blob/3245cb65fd91cd514801bf91f5a3066d562f0ac4/net/core/net-sysfs.c#L1109
Pushed, thanks.
> Signed-off-by: Dylan Jhong <dylan@andestech.com>
> ---
It's customary to add a note here (after the ---) about changes done
since the last patch revision, sometimes it's hard to spot the change
without a hint. In this case I nearly missed the difference since it
was one static keyword missing in v3.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list