ia64/linux-2.6.18-xen.hg

view arch/m68knommu/defconfig @ 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
1 #
2 # Automatically generated make config: don't edit
3 # Linux kernel version: 2.6.17
4 # Tue Jun 27 12:57:06 2006
5 #
6 CONFIG_M68K=y
7 # CONFIG_MMU is not set
8 # CONFIG_FPU is not set
9 CONFIG_RWSEM_GENERIC_SPINLOCK=y
10 # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
11 CONFIG_GENERIC_FIND_NEXT_BIT=y
12 CONFIG_GENERIC_HWEIGHT=y
13 CONFIG_GENERIC_CALIBRATE_DELAY=y
14 CONFIG_TIME_LOW_RES=y
16 #
17 # Code maturity level options
18 #
19 CONFIG_EXPERIMENTAL=y
20 CONFIG_BROKEN_ON_SMP=y
21 CONFIG_INIT_ENV_ARG_LIMIT=32
23 #
24 # General setup
25 #
26 CONFIG_LOCALVERSION=""
27 CONFIG_LOCALVERSION_AUTO=y
28 # CONFIG_SYSVIPC is not set
29 # CONFIG_POSIX_MQUEUE is not set
30 # CONFIG_BSD_PROCESS_ACCT is not set
31 # CONFIG_SYSCTL is not set
32 # CONFIG_AUDIT is not set
33 # CONFIG_IKCONFIG is not set
34 # CONFIG_RELAY is not set
35 CONFIG_INITRAMFS_SOURCE=""
36 CONFIG_UID16=y
37 # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
38 CONFIG_EMBEDDED=y
39 # CONFIG_KALLSYMS is not set
40 # CONFIG_HOTPLUG is not set
41 CONFIG_PRINTK=y
42 CONFIG_BUG=y
43 CONFIG_ELF_CORE=y
44 CONFIG_BASE_FULL=y
45 # CONFIG_FUTEX is not set
46 # CONFIG_EPOLL is not set
47 CONFIG_SLAB=y
48 CONFIG_TINY_SHMEM=y
49 CONFIG_BASE_SMALL=0
50 # CONFIG_SLOB is not set
52 #
53 # Loadable module support
54 #
55 # CONFIG_MODULES is not set
57 #
58 # Block layer
59 #
60 # CONFIG_BLK_DEV_IO_TRACE is not set
62 #
63 # IO Schedulers
64 #
65 CONFIG_IOSCHED_NOOP=y
66 # CONFIG_IOSCHED_AS is not set
67 # CONFIG_IOSCHED_DEADLINE is not set
68 # CONFIG_IOSCHED_CFQ is not set
69 # CONFIG_DEFAULT_AS is not set
70 # CONFIG_DEFAULT_DEADLINE is not set
71 # CONFIG_DEFAULT_CFQ is not set
72 CONFIG_DEFAULT_NOOP=y
73 CONFIG_DEFAULT_IOSCHED="noop"
75 #
76 # Processor type and features
77 #
78 # CONFIG_M68328 is not set
79 # CONFIG_M68EZ328 is not set
80 # CONFIG_M68VZ328 is not set
81 # CONFIG_M68360 is not set
82 # CONFIG_M5206 is not set
83 # CONFIG_M5206e is not set
84 # CONFIG_M520x is not set
85 # CONFIG_M523x is not set
86 # CONFIG_M5249 is not set
87 # CONFIG_M5271 is not set
88 CONFIG_M5272=y
89 # CONFIG_M5275 is not set
90 # CONFIG_M528x is not set
91 # CONFIG_M5307 is not set
92 # CONFIG_M532x is not set
93 # CONFIG_M5407 is not set
94 CONFIG_COLDFIRE=y
95 CONFIG_CLOCK_SET=y
96 CONFIG_CLOCK_FREQ=66666666
97 CONFIG_CLOCK_DIV=1
99 #
100 # Platform
101 #
102 CONFIG_M5272C3=y
103 # CONFIG_COBRA5272 is not set
104 # CONFIG_CANCam is not set
105 # CONFIG_SCALES is not set
106 # CONFIG_NETtel is not set
107 # CONFIG_CPU16B is not set
108 # CONFIG_MOD5272 is not set
109 CONFIG_FREESCALE=y
110 # CONFIG_LARGE_ALLOCS is not set
111 CONFIG_4KSTACKS=y
113 #
114 # RAM configuration
115 #
116 CONFIG_RAMBASE=0x0
117 CONFIG_RAMSIZE=0x800000
118 CONFIG_VECTORBASE=0x0
119 CONFIG_KERNELBASE=0x20000
120 CONFIG_RAMAUTOBIT=y
121 # CONFIG_RAM8BIT is not set
122 # CONFIG_RAM16BIT is not set
123 # CONFIG_RAM32BIT is not set
124 CONFIG_RAMKERNEL=y
125 # CONFIG_ROMKERNEL is not set
126 CONFIG_SELECT_MEMORY_MODEL=y
127 CONFIG_FLATMEM_MANUAL=y
128 # CONFIG_DISCONTIGMEM_MANUAL is not set
129 # CONFIG_SPARSEMEM_MANUAL is not set
130 CONFIG_FLATMEM=y
131 CONFIG_FLAT_NODE_MEM_MAP=y
132 # CONFIG_SPARSEMEM_STATIC is not set
133 CONFIG_SPLIT_PTLOCK_CPUS=4
135 #
136 # Bus options (PCI, PCMCIA, EISA, MCA, ISA)
137 #
138 # CONFIG_PCI is not set
140 #
141 # PCCARD (PCMCIA/CardBus) support
142 #
143 # CONFIG_PCCARD is not set
145 #
146 # PCI Hotplug Support
147 #
149 #
150 # Executable file formats
151 #
152 CONFIG_BINFMT_FLAT=y
153 # CONFIG_BINFMT_ZFLAT is not set
154 # CONFIG_BINFMT_SHARED_FLAT is not set
155 # CONFIG_BINFMT_AOUT is not set
156 # CONFIG_BINFMT_MISC is not set
158 #
159 # Power management options
160 #
161 # CONFIG_PM is not set
163 #
164 # Networking
165 #
166 CONFIG_NET=y
168 #
169 # Networking options
170 #
171 # CONFIG_NETDEBUG is not set
172 CONFIG_PACKET=y
173 # CONFIG_PACKET_MMAP is not set
174 CONFIG_UNIX=y
175 # CONFIG_NET_KEY is not set
176 CONFIG_INET=y
177 # CONFIG_IP_MULTICAST is not set
178 # CONFIG_IP_ADVANCED_ROUTER is not set
179 CONFIG_IP_FIB_HASH=y
180 # CONFIG_IP_PNP is not set
181 # CONFIG_NET_IPIP is not set
182 # CONFIG_NET_IPGRE is not set
183 # CONFIG_ARPD is not set
184 # CONFIG_SYN_COOKIES is not set
185 # CONFIG_INET_AH is not set
186 # CONFIG_INET_ESP is not set
187 # CONFIG_INET_IPCOMP is not set
188 # CONFIG_INET_XFRM_TUNNEL is not set
189 # CONFIG_INET_TUNNEL is not set
190 # CONFIG_INET_DIAG is not set
191 # CONFIG_TCP_CONG_ADVANCED is not set
192 CONFIG_TCP_CONG_BIC=y
193 # CONFIG_IPV6 is not set
194 # CONFIG_INET6_XFRM_TUNNEL is not set
195 # CONFIG_INET6_TUNNEL is not set
196 # CONFIG_NETFILTER is not set
198 #
199 # DCCP Configuration (EXPERIMENTAL)
200 #
201 # CONFIG_IP_DCCP is not set
203 #
204 # SCTP Configuration (EXPERIMENTAL)
205 #
206 # CONFIG_IP_SCTP is not set
208 #
209 # TIPC Configuration (EXPERIMENTAL)
210 #
211 # CONFIG_TIPC is not set
212 # CONFIG_ATM is not set
213 # CONFIG_BRIDGE is not set
214 # CONFIG_VLAN_8021Q is not set
215 # CONFIG_DECNET is not set
216 # CONFIG_LLC2 is not set
217 # CONFIG_IPX is not set
218 # CONFIG_ATALK is not set
219 # CONFIG_X25 is not set
220 # CONFIG_LAPB is not set
221 # CONFIG_NET_DIVERT is not set
222 # CONFIG_ECONET is not set
223 # CONFIG_WAN_ROUTER is not set
225 #
226 # QoS and/or fair queueing
227 #
228 # CONFIG_NET_SCHED is not set
230 #
231 # Network testing
232 #
233 # CONFIG_NET_PKTGEN is not set
234 # CONFIG_HAMRADIO is not set
235 # CONFIG_IRDA is not set
236 # CONFIG_BT is not set
237 # CONFIG_IEEE80211 is not set
239 #
240 # Device Drivers
241 #
243 #
244 # Generic Driver Options
245 #
246 CONFIG_STANDALONE=y
247 CONFIG_PREVENT_FIRMWARE_BUILD=y
248 # CONFIG_FW_LOADER is not set
250 #
251 # Connector - unified userspace <-> kernelspace linker
252 #
253 # CONFIG_CONNECTOR is not set
255 #
256 # Memory Technology Devices (MTD)
257 #
258 CONFIG_MTD=y
259 # CONFIG_MTD_DEBUG is not set
260 # CONFIG_MTD_CONCAT is not set
261 CONFIG_MTD_PARTITIONS=y
262 # CONFIG_MTD_REDBOOT_PARTS is not set
263 # CONFIG_MTD_CMDLINE_PARTS is not set
265 #
266 # User Modules And Translation Layers
267 #
268 CONFIG_MTD_CHAR=y
269 CONFIG_MTD_BLOCK=y
270 # CONFIG_FTL is not set
271 # CONFIG_NFTL is not set
272 # CONFIG_INFTL is not set
273 # CONFIG_RFD_FTL is not set
275 #
276 # RAM/ROM/Flash chip drivers
277 #
278 # CONFIG_MTD_CFI is not set
279 # CONFIG_MTD_JEDECPROBE is not set
280 CONFIG_MTD_MAP_BANK_WIDTH_1=y
281 CONFIG_MTD_MAP_BANK_WIDTH_2=y
282 CONFIG_MTD_MAP_BANK_WIDTH_4=y
283 # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
284 # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
285 # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
286 CONFIG_MTD_CFI_I1=y
287 CONFIG_MTD_CFI_I2=y
288 # CONFIG_MTD_CFI_I4 is not set
289 # CONFIG_MTD_CFI_I8 is not set
290 CONFIG_MTD_RAM=y
291 # CONFIG_MTD_ROM is not set
292 # CONFIG_MTD_ABSENT is not set
293 # CONFIG_MTD_OBSOLETE_CHIPS is not set
295 #
296 # Mapping drivers for chip access
297 #
298 # CONFIG_MTD_COMPLEX_MAPPINGS is not set
299 CONFIG_MTD_UCLINUX=y
300 # CONFIG_MTD_PLATRAM is not set
302 #
303 # Self-contained MTD device drivers
304 #
305 # CONFIG_MTD_SLRAM is not set
306 # CONFIG_MTD_PHRAM is not set
307 # CONFIG_MTD_MTDRAM is not set
308 # CONFIG_MTD_BLOCK2MTD is not set
310 #
311 # Disk-On-Chip Device Drivers
312 #
313 # CONFIG_MTD_DOC2000 is not set
314 # CONFIG_MTD_DOC2001 is not set
315 # CONFIG_MTD_DOC2001PLUS is not set
317 #
318 # NAND Flash Device Drivers
319 #
320 # CONFIG_MTD_NAND is not set
322 #
323 # OneNAND Flash Device Drivers
324 #
325 # CONFIG_MTD_ONENAND is not set
327 #
328 # Parallel port support
329 #
330 # CONFIG_PARPORT is not set
332 #
333 # Plug and Play support
334 #
336 #
337 # Block devices
338 #
339 # CONFIG_BLK_DEV_COW_COMMON is not set
340 # CONFIG_BLK_DEV_LOOP is not set
341 # CONFIG_BLK_DEV_NBD is not set
342 CONFIG_BLK_DEV_RAM=y
343 CONFIG_BLK_DEV_RAM_COUNT=16
344 CONFIG_BLK_DEV_RAM_SIZE=4096
345 # CONFIG_BLK_DEV_INITRD is not set
346 # CONFIG_CDROM_PKTCDVD is not set
347 # CONFIG_ATA_OVER_ETH is not set
349 #
350 # ATA/ATAPI/MFM/RLL support
351 #
352 # CONFIG_IDE is not set
354 #
355 # SCSI device support
356 #
357 # CONFIG_RAID_ATTRS is not set
358 # CONFIG_SCSI is not set
360 #
361 # Multi-device support (RAID and LVM)
362 #
363 # CONFIG_MD is not set
365 #
366 # Fusion MPT device support
367 #
368 # CONFIG_FUSION is not set
370 #
371 # IEEE 1394 (FireWire) support
372 #
374 #
375 # I2O device support
376 #
378 #
379 # Network device support
380 #
381 CONFIG_NETDEVICES=y
382 # CONFIG_DUMMY is not set
383 # CONFIG_BONDING is not set
384 # CONFIG_EQUALIZER is not set
385 # CONFIG_TUN is not set
387 #
388 # PHY device support
389 #
390 # CONFIG_PHYLIB is not set
392 #
393 # Ethernet (10 or 100Mbit)
394 #
395 CONFIG_NET_ETHERNET=y
396 # CONFIG_MII is not set
397 CONFIG_FEC=y
398 # CONFIG_FEC2 is not set
400 #
401 # Ethernet (1000 Mbit)
402 #
404 #
405 # Ethernet (10000 Mbit)
406 #
408 #
409 # Token Ring devices
410 #
412 #
413 # Wireless LAN (non-hamradio)
414 #
415 # CONFIG_NET_RADIO is not set
417 #
418 # Wan interfaces
419 #
420 # CONFIG_WAN is not set
421 CONFIG_PPP=y
422 # CONFIG_PPP_MULTILINK is not set
423 # CONFIG_PPP_FILTER is not set
424 # CONFIG_PPP_ASYNC is not set
425 # CONFIG_PPP_SYNC_TTY is not set
426 # CONFIG_PPP_DEFLATE is not set
427 # CONFIG_PPP_BSDCOMP is not set
428 # CONFIG_PPP_MPPE is not set
429 # CONFIG_PPPOE is not set
430 # CONFIG_SLIP is not set
431 # CONFIG_SHAPER is not set
432 # CONFIG_NETCONSOLE is not set
433 # CONFIG_NETPOLL is not set
434 # CONFIG_NET_POLL_CONTROLLER is not set
436 #
437 # ISDN subsystem
438 #
439 # CONFIG_ISDN is not set
441 #
442 # Telephony Support
443 #
444 # CONFIG_PHONE is not set
446 #
447 # Input device support
448 #
449 # CONFIG_INPUT is not set
451 #
452 # Hardware I/O ports
453 #
454 # CONFIG_SERIO is not set
455 # CONFIG_GAMEPORT is not set
457 #
458 # Character devices
459 #
460 # CONFIG_VT is not set
461 # CONFIG_SERIAL_NONSTANDARD is not set
463 #
464 # Serial drivers
465 #
466 # CONFIG_SERIAL_8250 is not set
468 #
469 # Non-8250 serial port support
470 #
471 CONFIG_SERIAL_COLDFIRE=y
472 # CONFIG_UNIX98_PTYS is not set
473 CONFIG_LEGACY_PTYS=y
474 CONFIG_LEGACY_PTY_COUNT=256
476 #
477 # IPMI
478 #
479 # CONFIG_IPMI_HANDLER is not set
481 #
482 # Watchdog Cards
483 #
484 # CONFIG_WATCHDOG is not set
485 # CONFIG_GEN_RTC is not set
486 # CONFIG_DTLK is not set
487 # CONFIG_R3964 is not set
489 #
490 # Ftape, the floppy tape device driver
491 #
492 # CONFIG_RAW_DRIVER is not set
494 #
495 # TPM devices
496 #
497 # CONFIG_TCG_TPM is not set
498 # CONFIG_TELCLOCK is not set
500 #
501 # I2C support
502 #
503 # CONFIG_I2C is not set
505 #
506 # SPI support
507 #
508 # CONFIG_SPI is not set
509 # CONFIG_SPI_MASTER is not set
511 #
512 # Dallas's 1-wire bus
513 #
514 # CONFIG_W1 is not set
516 #
517 # Hardware Monitoring support
518 #
519 # CONFIG_HWMON is not set
520 # CONFIG_HWMON_VID is not set
522 #
523 # Misc devices
524 #
526 #
527 # Multimedia devices
528 #
529 # CONFIG_VIDEO_DEV is not set
530 CONFIG_VIDEO_V4L2=y
532 #
533 # Digital Video Broadcasting Devices
534 #
535 # CONFIG_DVB is not set
537 #
538 # Graphics support
539 #
540 # CONFIG_FB is not set
542 #
543 # Sound
544 #
545 # CONFIG_SOUND is not set
547 #
548 # USB support
549 #
550 # CONFIG_USB_ARCH_HAS_HCD is not set
551 # CONFIG_USB_ARCH_HAS_OHCI is not set
552 # CONFIG_USB_ARCH_HAS_EHCI is not set
554 #
555 # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
556 #
558 #
559 # USB Gadget Support
560 #
561 # CONFIG_USB_GADGET is not set
563 #
564 # MMC/SD Card support
565 #
566 # CONFIG_MMC is not set
568 #
569 # LED devices
570 #
571 # CONFIG_NEW_LEDS is not set
573 #
574 # LED drivers
575 #
577 #
578 # LED Triggers
579 #
581 #
582 # InfiniBand support
583 #
585 #
586 # EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
587 #
589 #
590 # Real Time Clock
591 #
592 # CONFIG_RTC_CLASS is not set
594 #
595 # File systems
596 #
597 CONFIG_EXT2_FS=y
598 # CONFIG_EXT2_FS_XATTR is not set
599 # CONFIG_EXT2_FS_XIP is not set
600 # CONFIG_EXT3_FS is not set
601 # CONFIG_REISERFS_FS is not set
602 # CONFIG_JFS_FS is not set
603 # CONFIG_FS_POSIX_ACL is not set
604 # CONFIG_XFS_FS is not set
605 # CONFIG_OCFS2_FS is not set
606 # CONFIG_MINIX_FS is not set
607 CONFIG_ROMFS_FS=y
608 # CONFIG_INOTIFY is not set
609 # CONFIG_QUOTA is not set
610 # CONFIG_DNOTIFY is not set
611 # CONFIG_AUTOFS_FS is not set
612 # CONFIG_AUTOFS4_FS is not set
613 # CONFIG_FUSE_FS is not set
615 #
616 # CD-ROM/DVD Filesystems
617 #
618 # CONFIG_ISO9660_FS is not set
619 # CONFIG_UDF_FS is not set
621 #
622 # DOS/FAT/NT Filesystems
623 #
624 # CONFIG_MSDOS_FS is not set
625 # CONFIG_VFAT_FS is not set
626 # CONFIG_NTFS_FS is not set
628 #
629 # Pseudo filesystems
630 #
631 CONFIG_PROC_FS=y
632 CONFIG_SYSFS=y
633 # CONFIG_TMPFS is not set
634 # CONFIG_HUGETLB_PAGE is not set
635 CONFIG_RAMFS=y
636 # CONFIG_CONFIGFS_FS is not set
638 #
639 # Miscellaneous filesystems
640 #
641 # CONFIG_ADFS_FS is not set
642 # CONFIG_AFFS_FS is not set
643 # CONFIG_HFS_FS is not set
644 # CONFIG_HFSPLUS_FS is not set
645 # CONFIG_BEFS_FS is not set
646 # CONFIG_BFS_FS is not set
647 # CONFIG_EFS_FS is not set
648 # CONFIG_JFFS_FS is not set
649 # CONFIG_JFFS2_FS is not set
650 # CONFIG_CRAMFS is not set
651 # CONFIG_VXFS_FS is not set
652 # CONFIG_HPFS_FS is not set
653 # CONFIG_QNX4FS_FS is not set
654 # CONFIG_SYSV_FS is not set
655 # CONFIG_UFS_FS is not set
657 #
658 # Network File Systems
659 #
660 # CONFIG_NFS_FS is not set
661 # CONFIG_NFSD is not set
662 # CONFIG_SMB_FS is not set
663 # CONFIG_CIFS is not set
664 # CONFIG_NCP_FS is not set
665 # CONFIG_CODA_FS is not set
666 # CONFIG_AFS_FS is not set
667 # CONFIG_9P_FS is not set
669 #
670 # Partition Types
671 #
672 # CONFIG_PARTITION_ADVANCED is not set
673 CONFIG_MSDOS_PARTITION=y
675 #
676 # Native Language Support
677 #
678 # CONFIG_NLS is not set
680 #
681 # Kernel hacking
682 #
683 # CONFIG_PRINTK_TIME is not set
684 # CONFIG_MAGIC_SYSRQ is not set
685 # CONFIG_DEBUG_KERNEL is not set
686 CONFIG_LOG_BUF_SHIFT=14
687 # CONFIG_DEBUG_BUGVERBOSE is not set
688 # CONFIG_DEBUG_FS is not set
689 # CONFIG_UNWIND_INFO is not set
690 # CONFIG_FULLDEBUG is not set
691 # CONFIG_HIGHPROFILE is not set
692 # CONFIG_BOOTPARAM is not set
693 # CONFIG_DUMPTOFLASH is not set
694 # CONFIG_NO_KERNEL_MSG is not set
695 # CONFIG_BDM_DISABLE is not set
697 #
698 # Security options
699 #
700 # CONFIG_KEYS is not set
701 # CONFIG_SECURITY is not set
703 #
704 # Cryptographic options
705 #
706 # CONFIG_CRYPTO is not set
708 #
709 # Hardware crypto devices
710 #
712 #
713 # Library routines
714 #
715 # CONFIG_CRC_CCITT is not set
716 # CONFIG_CRC16 is not set
717 # CONFIG_CRC32 is not set
718 # CONFIG_LIBCRC32C is not set