mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 09:31:26 +00:00
060eabe8fb
A driver's 'reclaim_memory' callback can race with 'probe' or 'remove' because it will be called whenever memory pressure is detected. To avoid such race, this commit embeds a spinlock in each 'xenbus_device' and make 'xenbus' to hold the lock while the corresponded callbacks are running. Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: SeongJae Park <sjpark@amazon.de> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> |
||
---|---|---|
.. | ||
Makefile | ||
xenbus_client.c | ||
xenbus_comms.c | ||
xenbus_dev_backend.c | ||
xenbus_dev_frontend.c | ||
xenbus_probe_backend.c | ||
xenbus_probe_frontend.c | ||
xenbus_probe.c | ||
xenbus_xs.c | ||
xenbus.h |