Files
linux/Documentation/admin-guide/laptops/index.rst
T
Johannes Weiner 64dd89ae01 mm/block/fs: remove laptop_mode
Laptop mode was introduced to save battery, by delaying and consolidating
writes and thereby maximize the time rotating hard drives wouldn't have to
spin.

Luckily, rotating hard drives, with their high spin-up times and power
draw, are a thing of the past for battery-powered devices.  Reclaim has
also since changed to not write single filesystem pages anymore, and
regular filesystem writeback is lumpy by design.

The juice doesn't appear worth the squeeze anymore.  The footprint of the
feature is small, but nevertheless it's a complicating factor in mm,
block, filesystems.  Developers don't think about it, and it likely hasn't
been tested with new reclaim and writeback changes in years.

Let's sunset it.  Keep the sysctl with a deprecation warning around for a
few more cycles, but remove all functionality behind it.

[[email protected]: fix Documentation/admin-guide/laptops/index.rst]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Johannes Weiner <[email protected]>
Suggested-by: Christoph Hellwig <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Acked-by: Jens Axboe <[email protected]>
Reviewed-by: Shakeel Butt <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Deepanshu Kartikey <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
2026-01-20 19:24:47 -08:00

20 lines
281 B
ReStructuredText

.. SPDX-License-Identifier: GPL-2.0
==============
Laptop Drivers
==============
.. toctree::
:maxdepth: 1
alienware-wmi
asus-laptop
disk-shock-protection
lg-laptop
samsung-galaxybook
sony-laptop
sonypi
thinkpad-acpi
toshiba_haps
uniwill-laptop