diff options
| -rw-r--r-- | Documentation/kernel-parameters.txt | 38 | ||||
| -rw-r--r-- | mm/vmscan.c | 5 |
2 files changed, 41 insertions, 2 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index a19f021f081a..600cdd72900c 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
| @@ -231,6 +231,35 @@ and is between 256 and 4096 characters. It is defined in the file | |||
| 231 | power state again in power transition. | 231 | power state again in power transition. |
| 232 | 1 : disable the power state check | 232 | 1 : disable the power state check |
| 233 | 233 | ||
| 234 | acpi_sci= [HW,ACPI] ACPI System Control Interrupt trigger mode | ||
| 235 | Format: { level | edge | high | low } | ||
| 236 | |||
| 237 | acpi_serialize [HW,ACPI] force serialization of AML methods | ||
| 238 | |||
| 239 | acpi_skip_timer_override [HW,ACPI] | ||
| 240 | Recognize and ignore IRQ0/pin2 Interrupt Override. | ||
| 241 | For broken nForce2 BIOS resulting in XT-PIC timer. | ||
| 242 | |||
| 243 | acpi_sleep= [HW,ACPI] Sleep options | ||
| 244 | Format: { s3_bios, s3_mode, s3_beep, s4_nohwsig, | ||
| 245 | old_ordering, s4_nonvs } | ||
| 246 | See Documentation/power/video.txt for information on | ||
| 247 | s3_bios and s3_mode. | ||
| 248 | s3_beep is for debugging; it makes the PC's speaker beep | ||
| 249 | as soon as the kernel's real-mode entry point is called. | ||
| 250 | s4_nohwsig prevents ACPI hardware signature from being | ||
| 251 | used during resume from hibernation. | ||
| 252 | old_ordering causes the ACPI 1.0 ordering of the _PTS | ||
| 253 | control method, with respect to putting devices into | ||
| 254 | low power states, to be enforced (the ACPI 2.0 ordering | ||
| 255 | of _PTS is used by default). | ||
| 256 | s4_nonvs prevents the kernel from saving/restoring the | ||
| 257 | ACPI NVS memory during hibernation. | ||
| 258 | |||
| 259 | acpi_use_timer_override [HW,ACPI] | ||
| 260 | Use timer override. For some broken Nvidia NF5 boards | ||
| 261 | that require a timer override, but don't have HPET | ||
| 262 | |||
| 234 | acpi_enforce_resources= [ACPI] | 263 | acpi_enforce_resources= [ACPI] |
| 235 | { strict | lax | no } | 264 | { strict | lax | no } |
| 236 | Check for resource conflicts between native drivers | 265 | Check for resource conflicts between native drivers |
| @@ -250,6 +279,9 @@ and is between 256 and 4096 characters. It is defined in the file | |||
| 250 | ad1848= [HW,OSS] | 279 | ad1848= [HW,OSS] |
| 251 | Format: <io>,<irq>,<dma>,<dma2>,<type> | 280 | Format: <io>,<irq>,<dma>,<dma2>,<type> |
| 252 | 281 | ||
| 282 | add_efi_memmap [EFI; X86] Include EFI memory map in | ||
| 283 | kernel's map of available physical RAM. | ||
| 284 | |||
| 253 | advansys= [HW,SCSI] | 285 | advansys= [HW,SCSI] |
| 254 | See header of drivers/scsi/advansys.c. | 286 | See header of drivers/scsi/advansys.c. |
| 255 | 287 | ||
| @@ -1838,6 +1870,12 @@ and is between 256 and 4096 characters. It is defined in the file | |||
| 1838 | autoconfiguration. | 1870 | autoconfiguration. |
| 1839 | Ranges are in pairs (memory base and size). | 1871 | Ranges are in pairs (memory base and size). |
| 1840 | 1872 | ||
| 1873 | ports= [IP_VS_FTP] IPVS ftp helper module | ||
| 1874 | Default is 21. | ||
| 1875 | Up to 8 (IP_VS_APP_MAX_PORTS) ports | ||
| 1876 | may be specified. | ||
| 1877 | Format: <port>,<port>.... | ||
| 1878 | |||
| 1841 | print-fatal-signals= | 1879 | print-fatal-signals= |
| 1842 | [KNL] debug: print fatal signals | 1880 | [KNL] debug: print fatal signals |
| 1843 | print-fatal-signals=1: print segfault info to | 1881 | print-fatal-signals=1: print segfault info to |
diff --git a/mm/vmscan.c b/mm/vmscan.c index 39fdfb14eeaa..99155b7b8123 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
| @@ -2088,13 +2088,13 @@ static void shrink_all_zones(unsigned long nr_pages, int prio, | |||
| 2088 | nr_reclaimed += shrink_list(l, nr_to_scan, zone, | 2088 | nr_reclaimed += shrink_list(l, nr_to_scan, zone, |
| 2089 | sc, prio); | 2089 | sc, prio); |
| 2090 | if (nr_reclaimed >= nr_pages) { | 2090 | if (nr_reclaimed >= nr_pages) { |
| 2091 | sc->nr_reclaimed = nr_reclaimed; | 2091 | sc->nr_reclaimed += nr_reclaimed; |
| 2092 | return; | 2092 | return; |
| 2093 | } | 2093 | } |
| 2094 | } | 2094 | } |
| 2095 | } | 2095 | } |
| 2096 | } | 2096 | } |
| 2097 | sc->nr_reclaimed = nr_reclaimed; | 2097 | sc->nr_reclaimed += nr_reclaimed; |
| 2098 | } | 2098 | } |
| 2099 | 2099 | ||
| 2100 | /* | 2100 | /* |
| @@ -2115,6 +2115,7 @@ unsigned long shrink_all_memory(unsigned long nr_pages) | |||
| 2115 | .may_unmap = 0, | 2115 | .may_unmap = 0, |
| 2116 | .may_writepage = 1, | 2116 | .may_writepage = 1, |
| 2117 | .isolate_pages = isolate_pages_global, | 2117 | .isolate_pages = isolate_pages_global, |
| 2118 | .nr_reclaimed = 0, | ||
| 2118 | }; | 2119 | }; |
| 2119 | 2120 | ||
| 2120 | current->reclaim_state = &reclaim_state; | 2121 | current->reclaim_state = &reclaim_state; |
