tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 888c8375131656144c1605071eab2eb6ac49abc3 commit: 3d51ae1a688bffa357a93c9046a99e7986f4099d [1828/2084] mm/slab: put the freelist at the end of slab page reproduce: make htmldocs All warnings (new ones prefixed by >>): lib/crc32.c:148: warning: No description found for parameter 'tab)[256]' lib/crc32.c:148: warning: Excess function parameter 'tab' description in 'crc32_le_generic' lib/crc32.c:293: warning: No description found for parameter 'tab)[256]' lib/crc32.c:293: warning: Excess function parameter 'tab' description in 'crc32_be_generic' lib/crc32.c:1: warning: no structured comments found >> mm/slab.c:1882: warning: Excess function parameter 'align' description in 'calculate_slab_order' mm/filemap.c:1898: warning: No description found for parameter 'gfp_mask' vim +1882 mm/slab.c 97654dfa Joonsoo Kim 2014-08-06 1866 ^1da177e Linus Torvalds 2005-04-16 1867 /** a70773dd Randy Dunlap 2006-02-01 1868 * calculate_slab_order - calculate size (page order) of slabs a70773dd Randy Dunlap 2006-02-01 1869 * @cachep: pointer to the cache that is being created a70773dd Randy Dunlap 2006-02-01 1870 * @size: size of objects to be created in this cache. a70773dd Randy Dunlap 2006-02-01 1871 * @align: required alignment for the objects. a70773dd Randy Dunlap 2006-02-01 1872 * @flags: slab allocation flags a70773dd Randy Dunlap 2006-02-01 1873 * a70773dd Randy Dunlap 2006-02-01 1874 * Also calculates the number of objects per slab. 4d268eba Pekka Enberg 2006-01-08 1875 * 4d268eba Pekka Enberg 2006-01-08 1876 * This could be made much more intelligent. For now, try to avoid using 4d268eba Pekka Enberg 2006-01-08 1877 * high order pages for slabs. When the gfp() functions are more friendly 4d268eba Pekka Enberg 2006-01-08 1878 * towards high-order requests, this should be changed. 4d268eba Pekka Enberg 2006-01-08 1879 */ a737b3e2 Andrew Morton 2006-03-22 1880 static size_t calculate_slab_order(struct kmem_cache *cachep, 3d51ae1a Joonsoo Kim 2016-01-28 1881 size_t size, unsigned long flags) 4d268eba Pekka Enberg 2006-01-08 @1882 { b1ab41c4 Ingo Molnar 2006-06-02 1883 unsigned long offslab_limit; 4d268eba Pekka Enberg 2006-01-08 1884 size_t left_over = 0; 9888e6fa Linus Torvalds 2006-03-06 1885 int gfporder; 4d268eba Pekka Enberg 2006-01-08 1886 0aa817f0 Christoph Lameter 2007-05-16 1887 for (gfporder = 0; gfporder <= KMALLOC_MAX_ORDER; gfporder++) { 4d268eba Pekka Enberg 2006-01-08 1888 unsigned int num; 4d268eba Pekka Enberg 2006-01-08 1889 size_t remainder; 4d268eba Pekka Enberg 2006-01-08 1890 :::::: The code at line 1882 was first introduced by commit :::::: 4d268eba1187ef66844a6a33b9431e5d0dadd4ad [PATCH] slab: extract slab order calculation to separate function :::::: TO: Pekka Enberg <penberg@xxxxxxxxxxxxxx> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data