ia64/linux-2.6.18-xen.hg

view drivers/bluetooth/Kconfig @ 897:329ea0ccb344

balloon: try harder to balloon up under memory pressure.

Currently if the balloon driver is unable to increase the guest's
reservation it assumes the failure was due to reaching its full
allocation, gives up on the ballooning operation and records the limit
it reached as the "hard limit". The driver will not try again until
the target is set again (even to the same value).

However it is possible that ballooning has in fact failed due to
memory pressure in the host and therefore it is desirable to keep
attempting to reach the target in case memory becomes available. The
most likely scenario is that some guests are ballooning down while
others are ballooning up and therefore there is temporary memory
pressure while things stabilise. You would not expect a well behaved
toolstack to ask a domain to balloon to more than its allocation nor
would you expect it to deliberately over-commit memory by setting
balloon targets which exceed the total host memory.

This patch drops the concept of a hard limit and causes the balloon
driver to retry increasing the reservation on a timer in the same
manner as when decreasing the reservation.

Also if we partially succeed in increasing the reservation
(i.e. receive less pages than we asked for) then we may as well keep
those pages rather than returning them to Xen.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jun 05 14:01:20 2009 +0100 (2009-06-05)
parents 831230e53067
children
line source
2 menu "Bluetooth device drivers"
3 depends on BT
5 config BT_HCIUSB
6 tristate "HCI USB driver"
7 depends on USB
8 help
9 Bluetooth HCI USB driver.
10 This driver is required if you want to use Bluetooth devices with
11 USB interface.
13 Say Y here to compile support for Bluetooth USB devices into the
14 kernel or say M to compile it as module (hci_usb).
16 config BT_HCIUSB_SCO
17 bool "SCO (voice) support"
18 depends on BT_HCIUSB
19 help
20 This option enables the SCO support in the HCI USB driver. You need this
21 to transmit voice data with your Bluetooth USB device.
23 Say Y here to compile support for SCO over HCI USB.
25 config BT_HCIUART
26 tristate "HCI UART driver"
27 help
28 Bluetooth HCI UART driver.
29 This driver is required if you want to use Bluetooth devices with
30 serial port interface. You will also need this driver if you have
31 UART based Bluetooth PCMCIA and CF devices like Xircom Credit Card
32 adapter and BrainBoxes Bluetooth PC Card.
34 Say Y here to compile support for Bluetooth UART devices into the
35 kernel or say M to compile it as module (hci_uart).
37 config BT_HCIUART_H4
38 bool "UART (H4) protocol support"
39 depends on BT_HCIUART
40 help
41 UART (H4) is serial protocol for communication between Bluetooth
42 device and host. This protocol is required for most Bluetooth devices
43 with UART interface, including PCMCIA and CF cards.
45 Say Y here to compile support for HCI UART (H4) protocol.
47 config BT_HCIUART_BCSP
48 bool "BCSP protocol support"
49 depends on BT_HCIUART
50 help
51 BCSP (BlueCore Serial Protocol) is serial protocol for communication
52 between Bluetooth device and host. This protocol is required for non
53 USB Bluetooth devices based on CSR BlueCore chip, including PCMCIA and
54 CF cards.
56 Say Y here to compile support for HCI BCSP protocol.
58 config BT_HCIBCM203X
59 tristate "HCI BCM203x USB driver"
60 depends on USB
61 select FW_LOADER
62 help
63 Bluetooth HCI BCM203x USB driver.
64 This driver provides the firmware loading mechanism for the Broadcom
65 Blutonium based devices.
67 Say Y here to compile support for HCI BCM203x devices into the
68 kernel or say M to compile it as module (bcm203x).
70 config BT_HCIBPA10X
71 tristate "HCI BPA10x USB driver"
72 depends on USB
73 help
74 Bluetooth HCI BPA10x USB driver.
75 This driver provides support for the Digianswer BPA 100/105 Bluetooth
76 sniffer devices.
78 Say Y here to compile support for HCI BPA10x devices into the
79 kernel or say M to compile it as module (bpa10x).
81 config BT_HCIBFUSB
82 tristate "HCI BlueFRITZ! USB driver"
83 depends on USB
84 select FW_LOADER
85 help
86 Bluetooth HCI BlueFRITZ! USB driver.
87 This driver provides support for Bluetooth USB devices with AVM
88 interface:
89 AVM BlueFRITZ! USB
91 Say Y here to compile support for HCI BFUSB devices into the
92 kernel or say M to compile it as module (bfusb).
94 config BT_HCIDTL1
95 tristate "HCI DTL1 (PC Card) driver"
96 depends on PCMCIA
97 help
98 Bluetooth HCI DTL1 (PC Card) driver.
99 This driver provides support for Bluetooth PCMCIA devices with
100 Nokia DTL1 interface:
101 Nokia Bluetooth Card
102 Socket Bluetooth CF Card
104 Say Y here to compile support for HCI DTL1 devices into the
105 kernel or say M to compile it as module (dtl1_cs).
107 config BT_HCIBT3C
108 tristate "HCI BT3C (PC Card) driver"
109 depends on PCMCIA
110 select FW_LOADER
111 help
112 Bluetooth HCI BT3C (PC Card) driver.
113 This driver provides support for Bluetooth PCMCIA devices with
114 3Com BT3C interface:
115 3Com Bluetooth Card (3CRWB6096)
116 HP Bluetooth Card
118 Say Y here to compile support for HCI BT3C devices into the
119 kernel or say M to compile it as module (bt3c_cs).
121 config BT_HCIBLUECARD
122 tristate "HCI BlueCard (PC Card) driver"
123 depends on PCMCIA
124 help
125 Bluetooth HCI BlueCard (PC Card) driver.
126 This driver provides support for Bluetooth PCMCIA devices with
127 Anycom BlueCard interface:
128 Anycom Bluetooth PC Card
129 Anycom Bluetooth CF Card
131 Say Y here to compile support for HCI BlueCard devices into the
132 kernel or say M to compile it as module (bluecard_cs).
134 config BT_HCIBTUART
135 tristate "HCI UART (PC Card) device driver"
136 depends on PCMCIA
137 help
138 Bluetooth HCI UART (PC Card) driver.
139 This driver provides support for Bluetooth PCMCIA devices with
140 an UART interface:
141 Xircom CreditCard Bluetooth Adapter
142 Xircom RealPort2 Bluetooth Adapter
143 Sphinx PICO Card
144 H-Soft blue+Card
145 Cyber-blue Compact Flash Card
147 Say Y here to compile support for HCI UART devices into the
148 kernel or say M to compile it as module (btuart_cs).
150 config BT_HCIVHCI
151 tristate "HCI VHCI (Virtual HCI device) driver"
152 help
153 Bluetooth Virtual HCI device driver.
154 This driver is required if you want to use HCI Emulation software.
156 Say Y here to compile support for virtual HCI devices into the
157 kernel or say M to compile it as module (hci_vhci).
159 endmenu