All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the slab tree
@ 2011-01-31  3:42 Stephen Rothwell
  2011-01-31 19:32 ` Pekka Enberg
  0 siblings, 1 reply; 29+ messages in thread
From: Stephen Rothwell @ 2011-01-31  3:42 UTC (permalink / raw)
  To: Pekka Enberg, Christoph Lameter; +Cc: linux-next, linux-kernel, Theodore Tso

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

Hi all,

After merging the slab tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

fs/ext4/mballoc.c: In function 'ext4_exit_mballoc':
fs/ext4/mballoc.c:2750: error: implicit declaration of function 'kmem_cache_name'
fs/ext4/mballoc.c:2750: warning: cast to pointer from integer of different size

Caused by commit 63310467a3d1ed6a0460ec1f4268126cd1ceec2e ("mm: Remove
support for kmem_cache_name()").  Clearly the last user has not gone, yet.

I have used the version of the slab tree from next-20110121 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the slab tree
@ 2024-05-01  5:28 Stephen Rothwell
  2024-05-01 15:31 ` Vlastimil Babka
  0 siblings, 1 reply; 29+ messages in thread
From: Stephen Rothwell @ 2024-05-01  5:28 UTC (permalink / raw)
  To: Vlastimil Babka
  Cc: Chengming Zhou, Nicolas Bouchinet, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 914 bytes --]

Hi all,

After merging the slab tree, today's linux-next build (x86_64
allmodconfig) failed like this:

mm/slub.c: In function 'slab_free_hook':
mm/slub.c:2187:25: error: implicit declaration of function 'get_info_end' [-Werror=implicit-function-declaration]
 2187 |                 inuse = get_info_end(s);
      |                         ^~~~~~~~~~~~
mm/slub.c: In function 'maybe_wipe_obj_freeptr':
mm/slub.c:3872:14: error: implicit declaration of function 'freeptr_outside_object' [-Werror=implicit-function-declaration]
 3872 |             !freeptr_outside_object(s))
      |              ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Caused by commit

  7f39e23ed8dd ("mm/slub: avoid zeroing outside-object freepointer for single free")

$ grep CONFIG_SLUB_DEBUG .config
$

I have used the slab tree from next-20240430 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the slab tree
@ 2022-11-25  1:49 Stephen Rothwell
  2022-11-25  7:50 ` Vlastimil Babka
  0 siblings, 1 reply; 29+ messages in thread
From: Stephen Rothwell @ 2022-11-25  1:49 UTC (permalink / raw)
  To: Vlastimil Babka; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 507 bytes --]

Hi all,

After merging the slab tree, today's linux-next build (x86_64
allmodconfig) failed like this:

mm/slub.c:965:13: error: 'freelist_corrupted' defined but not used [-Werror=unused-function]
  965 | static bool freelist_corrupted(struct kmem_cache *s, struct slab *slab,
      |             ^~~~~~~~~~~~~~~~~~

Caused by commit

  f6e94ad44e77 ("mm, slub: remove percpu slabs with CONFIG_SLUB_TINY")

I have used the slab tree from next-20221123 again.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the slab tree
@ 2022-11-24  4:39 Stephen Rothwell
  2022-11-24  8:56 ` Vlastimil Babka
  0 siblings, 1 reply; 29+ messages in thread
From: Stephen Rothwell @ 2022-11-24  4:39 UTC (permalink / raw)
  To: Vlastimil Babka; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1956 bytes --]

Hi all,

After merging the slab tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

mm/slab_common.c: In function 'kmem_dump_obj':
mm/slab_common.c:603:49: error: 'struct kmem_cache' has no member named 'usersize'
  603 |         if (kp.kp_slab_cache && kp.kp_slab_cache->usersize)
      |                                                 ^~
In file included from include/asm-generic/bug.h:22,
                 from arch/powerpc/include/asm/bug.h:159,
                 from include/linux/bug.h:5,
                 from include/linux/thread_info.h:13,
                 from include/asm-generic/preempt.h:5,
                 from ./arch/powerpc/include/generated/asm/preempt.h:1,
                 from include/linux/preempt.h:78,
                 from include/linux/spinlock.h:56,
                 from include/linux/mmzone.h:8,
                 from include/linux/gfp.h:7,
                 from include/linux/slab.h:15,
                 from mm/slab_common.c:7:
mm/slab_common.c:604:53: error: 'struct kmem_cache' has no member named 'usersize'
  604 |                 pr_cont(" size %u", kp.kp_slab_cache->usersize);
      |                                                     ^~
include/linux/printk.h:429:33: note: in definition of macro 'printk_index_wrap'
  429 |                 _p_func(_fmt, ##__VA_ARGS__);                           \
      |                                 ^~~~~~~~~~~
include/linux/printk.h:542:9: note: in expansion of macro 'printk'
  542 |         printk(KERN_CONT fmt, ##__VA_ARGS__)
      |         ^~~~~~
mm/slab_common.c:604:17: note: in expansion of macro 'pr_cont'
  604 |                 pr_cont(" size %u", kp.kp_slab_cache->usersize);
      |                 ^~~~~~~

Caused by commit

  3cdb7b6ad16a ("mm, slab: ignore hardened usercopy parameters when disabled")

I have used the slab tree from next-20221123 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the slab tree
@ 2022-09-06  6:51 Stephen Rothwell
  2022-09-06  7:53 ` Vlastimil Babka
  0 siblings, 1 reply; 29+ messages in thread
From: Stephen Rothwell @ 2022-09-06  6:51 UTC (permalink / raw)
  To: Vlastimil Babka, Daniel Borkmann, Alexei Starovoitov,
	Andrii Nakryiko, bpf, Networking
  Cc: Hyeonggon Yoo, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 797 bytes --]

Hi all,

After merging the slab tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

kernel/bpf/memalloc.c: In function 'bpf_mem_free':
kernel/bpf/memalloc.c:613:33: error: implicit declaration of function '__ksize'; did you mean 'ksize'? [-Werror=implicit-function-declaration]
  613 |         idx = bpf_mem_cache_idx(__ksize(ptr - LLIST_NODE_SZ));
      |                                 ^~~~~~~
      |                                 ksize

Caused by commit

  8dfa9d554061 ("mm/slab_common: move declaration of __ksize() to mm/slab.h")

interacting with commit

  7c8199e24fa0 ("bpf: Introduce any context BPF specific memory allocator.")

from the bpf-next tree.

I have reverted the slab tree commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the slab tree
@ 2013-07-10  2:56 Stephen Rothwell
  2013-07-10  7:00 ` Pekka Enberg
  0 siblings, 1 reply; 29+ messages in thread
From: Stephen Rothwell @ 2013-07-10  2:56 UTC (permalink / raw)
  To: Pekka Enberg, Christoph Lameter; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 977 bytes --]

Hi all,

After merging the slab tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from include/linux/slab.h:17:0,
                 from include/linux/crypto.h:24,
                 from arch/x86/kernel/asm-offsets.c:8:
include/linux/kmemleak.h: In function 'kmemleak_alloc_recursive':
include/linux/kmemleak.h:44:16: error: 'SLAB_NOLEAKTRACE' undeclared (first use in this function)
  if (!(flags & SLAB_NOLEAKTRACE))
                ^
include/linux/kmemleak.h: In function 'kmemleak_free_recursive':
include/linux/kmemleak.h:50:16: error: 'SLAB_NOLEAKTRACE' undeclared (first use in this function)
  if (!(flags & SLAB_NOLEAKTRACE))
                ^

Probably caused by commit 590a63973e36 ("mm/sl[aou]b: Move kmalloc
definitions to slab.h").

I have used the slab tree from next-20130709 for today.

And, yes, I am a little annoyed by this.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the slab tree
@ 2010-12-09  3:03 Stephen Rothwell
  2010-12-09 16:25 ` Pekka Enberg
  0 siblings, 1 reply; 29+ messages in thread
From: Stephen Rothwell @ 2010-12-09  3:03 UTC (permalink / raw)
  To: Pekka Enberg, Christoph Lameter
  Cc: linux-next, linux-kernel, Steven Rostedt, Richard Kennedy

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

Hi all,

After merging the slab tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

lib/built-in.o: In function `.zlib_inflate_blob':
(.text+0x8640): undefined reference to `.kmem_cache_alloc_notrace'

This build failure went away when I removed the lib directory from the
object tree and rebuilt.  So I guess we have an unexpressed dependency.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread
* linux-next: build failure after merge of the slab tree
@ 2010-10-27  0:33 Stephen Rothwell
  2010-10-27  7:29 ` Pekka Enberg
  0 siblings, 1 reply; 29+ messages in thread
From: Stephen Rothwell @ 2010-10-27  0:33 UTC (permalink / raw)
  To: Pekka Enberg, Christoph Lameter; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 536 bytes --]

Hi all,

After merging the slab tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

gcc: /scratch/sfr/next/Documentation/vm/slabinfo.c: No such file or directory
gcc: no input files

Caused by commit f5ac4916e9840292edd33c7a52b10364526547f3 ("slub: move
slabinfo.c to tools/slub/slabinfo.c").  Missing update to
Documentation/vm/Makefile?

I have used the slab tree from next-20101026 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2024-05-01 15:31 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-31  3:42 linux-next: build failure after merge of the slab tree Stephen Rothwell
2011-01-31 19:32 ` Pekka Enberg
2011-02-03 15:19   ` Christoph Lameter
2011-02-08 15:53     ` Christoph Lameter
2011-02-08 15:55       ` Christoph Lameter
2011-02-08 16:50         ` Ted Ts'o
2011-02-08 17:11         ` Sedat Dilek
2011-02-08 17:11           ` Sedat Dilek
2011-02-08 17:44           ` Christoph Lameter
  -- strict thread matches above, loose matches on Subject: below --
2024-05-01  5:28 Stephen Rothwell
2024-05-01 15:31 ` Vlastimil Babka
2022-11-25  1:49 Stephen Rothwell
2022-11-25  7:50 ` Vlastimil Babka
2022-11-24  4:39 Stephen Rothwell
2022-11-24  8:56 ` Vlastimil Babka
2022-09-06  6:51 Stephen Rothwell
2022-09-06  7:53 ` Vlastimil Babka
2022-09-06 18:37   ` Alexei Starovoitov
2022-09-07  3:05     ` Alexei Starovoitov
2022-09-07  6:40       ` Vlastimil Babka
2022-09-07  7:45       ` Stephen Rothwell
2013-07-10  2:56 Stephen Rothwell
2013-07-10  7:00 ` Pekka Enberg
2013-07-10 18:48   ` Christoph Lameter
2013-07-11  6:42     ` Pekka Enberg
2010-12-09  3:03 Stephen Rothwell
2010-12-09 16:25 ` Pekka Enberg
2010-10-27  0:33 Stephen Rothwell
2010-10-27  7:29 ` Pekka Enberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.