Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1221202
| From | Sedat Dilek <sedat.dilek@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) |
| Date | 2015-09-09 05:00 +0200 |
| Message-ID | <q6DM5-6P1-5@gated-at.bofh.it> (permalink) |
| References | <q5MeK-5Hs-19@gated-at.bofh.it> <q5XDb-56n-13@gated-at.bofh.it> <q6DsJ-6sy-7@gated-at.bofh.it> <q6DsJ-6sy-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Sep 9, 2015 at 4:29 AM, Baoquan He <bhe@redhat.com> wrote: > > Seems it happened when call num_possible_cpus() which is a inline > function to call __bitmap_weight(). So did you check > lib/bitmap.c:__bitmap_weight() by objdump? > > setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_node_ids:1 > [ CC->TO Denys ] Hi Boaquan, Thanks for your reply. I tried a lot in the meantime :-). For example I applied a patch from Denys Vlasenko <dvlasenk@redhat.com>... commit 1a1d48a4a8fde49aedc045d894efe67173d59fe0 "linux/bitmap: Force inlining of bitmap weight functions" ...on top of Linux v4.2. This resulted in the same call-trace in QEMU. I hacked around to only re-build mm/percpu.c with GCC (rest with CLANG) with some guidance from Linus (compiler warapper-script) etc. What do you need for outputs? objdump of lib/bitmap.o? From both builds - with GCC and CLANG? Please give me clear instructions, Thanks! Regards, - Sedat - [1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1a1d48a4a8fde49aedc045d894efe67173d59fe0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Baoquan He <bhe@redhat.com> - 2015-09-09 04:40 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-09 05:00 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-09 05:20 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Baoquan He <bhe@redhat.com> - 2015-09-09 05:30 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-09 05:50 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Peter Zijlstra <peterz@infradead.org> - 2015-09-09 15:00 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-12 23:30 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Peter Zijlstra <peterz@infradead.org> - 2015-09-14 09:20 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-14 09:40 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-14 10:00 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Peter Zijlstra <peterz@infradead.org> - 2015-09-14 11:00 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Ingo Molnar <mingo@kernel.org> - 2015-09-14 11:40 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Ingo Molnar <mingo@kernel.org> - 2015-09-14 12:00 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-14 12:30 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Ingo Molnar <mingo@kernel.org> - 2015-09-14 14:50 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-14 12:00 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Sedat Dilek <sedat.dilek@gmail.com> - 2015-09-14 09:50 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Austin S Hemmelgarn <ahferroin7@gmail.com> - 2015-09-14 20:00 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Christoph Lameter <cl@linux.com> - 2015-09-14 20:30 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Austin S Hemmelgarn <ahferroin7@gmail.com> - 2015-09-14 20:40 +0200
Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) Ingo Molnar <mingo@kernel.org> - 2015-09-15 08:20 +0200
csiph-web