mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-09-21 20:22:13 +08:00
Merge branch 'pci/controller/hyperv'
- Fix ring buffer size at 16KB (not 4 pages), which reduces memory usage by 128KBytes with 64KB pages (Michael Kelley) * pci/controller/hyperv: PCI: hv: Fix ring buffer size calculation
This commit is contained in:
commit
0b5ce6b2f7
@ -49,6 +49,7 @@
|
||||
#include <linux/refcount.h>
|
||||
#include <linux/irqdomain.h>
|
||||
#include <linux/acpi.h>
|
||||
#include <linux/sizes.h>
|
||||
#include <asm/mshyperv.h>
|
||||
|
||||
/*
|
||||
@ -465,7 +466,7 @@ struct pci_eject_response {
|
||||
u32 status;
|
||||
} __packed;
|
||||
|
||||
static int pci_ring_size = (4 * PAGE_SIZE);
|
||||
static int pci_ring_size = VMBUS_RING_SIZE(SZ_16K);
|
||||
|
||||
/*
|
||||
* Driver specific state.
|
||||
|
Loading…
Reference in New Issue
Block a user