Re: [RFC 2/8] slub: Add defrag_ratio field and sysfs support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 27, 2017 at 04:06:38PM -0600, Christoph Lameter wrote:
> +++ linux/Documentation/ABI/testing/sysfs-kernel-slab
> @@ -180,6 +180,19 @@ Description:
>  		list.  It can be written to clear the current count.
>  		Available when CONFIG_SLUB_STATS is enabled.
>  
> +What:		/sys/kernel/slab/cache/defrag_ratio
> +Date:		December 2017
> +KernelVersion:	4.16
> +Contact:	Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx>
> +		Pekka Enberg <penberg@xxxxxxxxxxxxxx>,
> +Description:
> +		The defrag_ratio files allows the control of how agressive
> +		slab fragmentation reduction works at reclaiming objects from
> +		sparsely populated slabs. This is a percentage. If a slab
> +		has more than this percentage of available object then reclaim
> +		will attempt to reclaim objects so that the whole slab
> +		page can be freed. The default is 30%.
> +
>  What:		/sys/kernel/slab/cache/deactivate_to_tail
>  Date:		February 2008
>  KernelVersion:	2.6.25

Should this documentation mention it's SLUB-only?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux