search for: kmem_cache_alloc

Displaying 20 results from an estimated 186 matches for "kmem_cache_alloc".

2002 Feb 13
2
Oops in kjournald
...c012f293>] [<c012f31d>] [<c0130783>] [<c0130979>] [<c012efa7>] [<c015de43>] [<c014b6cd>] [<c0110760>] [<c015d92b>] [<c015d800>] [<c01054e8>] Code: 8b 44 81 18 89 41 14 83 f8 ff 75 1d 8b 41 04 8b 11 89 42 04 >>EIP; c0126506 <kmem_cache_alloc+66/b0> <===== Trace; c012f292 <get_unused_buffer_head+32/80> Trace; c012f31c <create_buffers+1c/e0> Trace; c0130782 <grow_dev_page+62/a0> Trace; c0130978 <grow_buffers+b8/100> Trace; c012efa6 <getblk+26/40> Trace; c015de42 <journal_get_descriptor_buffer+32/5...
2017 Mar 13
1
[PATCH] drm: virtio: fix kmem_cache_alloc error check
kmem_cache_alloc returns NULL on error, not ERR_PTR. Fixes: f5985bf9cadd4e3ed8d5d9a9cbbb2e39cdb81cd9 Reported-by: Jiri Slaby <jslaby at suse.cz> Signed-off-by: Gerd Hoffmann <kraxel at redhat.com> --- drivers/gpu/drm/virtio/virtgpu_vq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -...
2017 Mar 13
1
[PATCH] drm: virtio: fix kmem_cache_alloc error check
kmem_cache_alloc returns NULL on error, not ERR_PTR. Fixes: f5985bf9cadd4e3ed8d5d9a9cbbb2e39cdb81cd9 Reported-by: Jiri Slaby <jslaby at suse.cz> Signed-off-by: Gerd Hoffmann <kraxel at redhat.com> --- drivers/gpu/drm/virtio/virtgpu_vq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -...
2008 Mar 14
0
kmem_cache_alloc() return value check
kmem_cache_alloc() only return two possible value: NULL for error, and non-NULL for valid pointer. IS_ERR() check for return value is not right, I guessed? -- Regards, Peter Teoh -------------- next part -------------- A non-text attachment was scrubbed... Name: wrong_is_err_check.patch Type: text/x-patch S...
2008 Nov 24
4
[LLVMdev] how to track down a kernel miscompilation?
...iling kernel with kvm/qemu) This is 2.6.28-rc6-tip, and LLVM SVN r59914. [ 0.000000] Detected 2832.689 MHz processor. [ 0.004000] Console: colour VGA+ 80x25 [ 0.004000] BUG: unable to handle kernel NULL pointer dereference at 00000000000000e8 [ 0.004000] IP: [<ffffffff802b3680>] kmem_cache_alloc+0x30/0xa0 [ 0.004000] PGD 0 [ 0.004000] Thread overran stack, or stack corrupted [ 0.004000] Oops: 0000 [#1] PREEMPT SMP [ 0.004000] last sysfs file: [ 0.004000] CPU 0 [ 0.004000] Modules linked in: [ 0.004000] Pid: 0, comm: swapper Not tainted 2.6.28-rc6-tip #165 [ 0.004000...
2019 Dec 26
2
nfs causes Centos 7.7 system to hang
...5]? [<ffffffffaf455ec3>] ? unlazy_walk+0x133/0x140 [26399.968404]? [<ffffffffaf97ec8f>] mutex_lock+0x1f/0x2f [26399.968410]? [<ffffffffaf977865>] lookup_slow+0x33/0xa7 [26399.968421]? [<ffffffffaf45b608>] path_lookupat+0x838/0x8b0 [26399.968445]? [<ffffffffaf424ef5>] ? kmem_cache_alloc+0x35/0x1f0 [26399.968475]? [<ffffffffaf45c45f>] ? getname_flags+0x4f/0x1a0 [26399.968481]? [<ffffffffaf45b6ab>] filename_lookup+0x2b/0xc0 [26399.968487]? [<ffffffffaf45d5f7>] user_path_at_empty+0x67/0xc0 [26399.968492]? [<ffffffffaf450695>] ? cp_new_stat+0x165/0x1a0 [26399.9...
2006 Jul 13
7
system unresponsive after issuing a zpool attach
Today I attempted to upgrade to S10_U2 and migrate some mirrored UFS SVM partitions to ZFS. I used Live Upgrade to migrate from U1 to U2 and that went without a hitch on my SunBlade 2000. And the initial conversion of one side of the UFS mirrors to a ZFS pool and subsequent data migration went fine. However, when I attempted to attach the second side mirrors as a mirror of the ZFS pool, all
2002 Jun 05
1
Anybody seeing this OOPS
Hello All, I am running Linux 2.4.7-10, 2.4.18-4 and 2.4.19-pre9, I see the following oops quite often (mainly on 2.4.19-pre9 with kdb). All the kernels I use have the kdb patch installed. 1 kmem_cache_alloc (offset 0x125) get_unused_buffer_head journal_write_metadata_buffer journal_commit_transaction kjournald kernel_thread kmem_cache_alloc dis xchg %eax, (%ebx) cmp $0x5a2cf071, %eax (where did a value like that come from?) je .... ud2a - (looks like assembly for BUG()) One more thing I have seen i...
2012 Jan 26
1
[PATCH] btrfs: mask out gfp flasg in releasepage
btree_releasepage is a callback and can be passed unknown gfp flags and then they may end up in kmem_cache_alloc called from alloc_extent_state, slab allocator will BUG_ON when there is HIGHMEM or DMA32 flag set. This may happen when btrfs is mounted from a loop device, which masks out __GFP_IO flag. The check in try_release_extent_state 3399 if ((mask & GFP_NOFS) == GFP_NOFS) 3400...
2008 Nov 24
0
[LLVMdev] how to track down a kernel miscompilation?
...This is 2.6.28-rc6-tip, and LLVM SVN r59914. > > [ 0.000000] Detected 2832.689 MHz processor. > [ 0.004000] Console: colour VGA+ 80x25 > [ 0.004000] BUG: unable to handle kernel NULL pointer dereference at > 00000000000000e8 > [ 0.004000] IP: [<ffffffff802b3680>] kmem_cache_alloc+0x30/0xa0 > [ 0.004000] PGD 0 > [ 0.004000] Thread overran stack, or stack corrupted > [ 0.004000] Oops: 0000 [#1] PREEMPT SMP > [ 0.004000] last sysfs file: > [ 0.004000] CPU 0 > [ 0.004000] Modules linked in: > [ 0.004000] Pid: 0, comm: swapper Not tainte...
2008 Nov 24
1
[LLVMdev] how to track down a kernel miscompilation?
...and LLVM SVN r59914. >> >> [ 0.000000] Detected 2832.689 MHz processor. >> [ 0.004000] Console: colour VGA+ 80x25 >> [ 0.004000] BUG: unable to handle kernel NULL pointer dereference at >> 00000000000000e8 >> [ 0.004000] IP: [<ffffffff802b3680>] kmem_cache_alloc+0x30/0xa0 >> [ 0.004000] PGD 0 >> [ 0.004000] Thread overran stack, or stack corrupted >> [ 0.004000] Oops: 0000 [#1] PREEMPT SMP >> [ 0.004000] last sysfs file: >> [ 0.004000] CPU 0 >> [ 0.004000] Modules linked in: >> [ 0.004000] Pid:...
2017 Dec 02
0
nouveau: refcount_t splat on 4.15-rc1 on nv50
...all Trace: [ 9.912106] nv50_instobj_acquire+0x123/0x1c0 [nouveau] [ 9.917565] ? nvbios_rd08+0x1b/0x70 [nouveau] [ 9.922239] nvkm_instobj_new+0x1e3/0x520 [nouveau] [ 9.927353] ? nvbios_rd08+0x1b/0x70 [nouveau] [ 9.932017] ? nvbios_pll_parse+0x8d7/0xcf0 [nouveau] [ 9.937218] ? kmem_cache_alloc+0x1f0/0x2d0 [ 9.941624] nvkm_memory_new+0x4b/0xc0 [nouveau] [ 9.946461] ? nvkm_longopt+0x17/0x60 [nouveau] [ 9.951208] gf100_fb_oneinit+0x7b/0x1c0 [nouveau] [ 9.956218] nvkm_fb_oneinit+0x89/0x2e0 [nouveau] [ 9.961144] nvkm_subdev_init+0x92/0x600 [nouveau] [ 9.966085] ? ktime...
2017 Aug 07
1
gluster stuck when trying to list a successful mount
...Mon Aug 7 17:09:32 2017] [<ffffffff810b4866>] ? __remove_hrtimer+0x46/0xe0 [Mon Aug 7 17:09:32 2017] [<ffffffff8120c1eb>] path_lookupat+0x6b/0x7a0 [Mon Aug 7 17:09:32 2017] [<ffffffff810f5fb3>] ? futex_wait+0x1a3/0x280 [Mon Aug 7 17:09:32 2017] [<ffffffff811de5e5>] ? kmem_cache_alloc+0x35/0x1e0 [Mon Aug 7 17:09:32 2017] [<ffffffff8120f23f>] ? getname_flags+0x4f/0x1a0 [Mon Aug 7 17:09:32 2017] [<ffffffff8120c94b>] filename_lookup+0x2b/0xc0 [Mon Aug 7 17:09:32 2017] [<ffffffff81210367>] user_path_at_empty+0x67/0xc0 [Mon Aug 7 17:09:32 2017] [<ffffffff...
2006 Dec 08
2
Lots of "swapper: page allocation failure" and other memory related messages - 2.6.16-xen0
...oc_pages+0x251/0x263 Dec 8 12:19:28 server kernel: [kmem_getpages+57/136] kmem_getpages+0x39/0x88 Dec 8 12:19:28 server kernel: [cache_grow+188/372] cache_grow+0xbc/0x174 Dec 8 12:19:28 server kernel: [cache_alloc_refill+366/439] cache_alloc_refill+0x16e/0x1b7 Dec 8 12:19:28 server kernel: [kmem_cache_alloc+71/122] kmem_cache_alloc+0x47/0x7a Dec 8 12:19:28 server kernel: [alloc_skb_from_cache+70/243] alloc_skb_from_cache+0x46/0xf3 Dec 8 12:19:28 server kernel: [__dev_alloc_skb+70/92] __dev_alloc_skb+0x46/0x5c Dec 8 12:19:28 server kernel: [netif_be_start_xmit+166/431] netif_be_start_xmit+0xa6/0x...
2017 Mar 01
2
[PATCH] drm: virtio: use kmem_cache
...rtio_gpu_vbuffer *vbuf; - spin_lock(&vgdev->free_vbufs_lock); - BUG_ON(list_empty(&vgdev->free_vbufs)); - vbuf = list_first_entry(&vgdev->free_vbufs, - struct virtio_gpu_vbuffer, list); - list_del(&vbuf->list); - spin_unlock(&vgdev->free_vbufs_lock); + vbuf = kmem_cache_alloc(vgdev->vbufs, GFP_KERNEL); + if (IS_ERR(vbuf)) + return ERR_CAST(vbuf); memset(vbuf, 0, VBUFFER_SIZE); BUG_ON(size > MAX_INLINE_CMD_SIZE); @@ -208,9 +173,7 @@ static void free_vbuf(struct virtio_gpu_device *vgdev, if (vbuf->resp_size > MAX_INLINE_RESP_SIZE) kfree(vbuf->re...
2017 Mar 01
2
[PATCH] drm: virtio: use kmem_cache
...rtio_gpu_vbuffer *vbuf; - spin_lock(&vgdev->free_vbufs_lock); - BUG_ON(list_empty(&vgdev->free_vbufs)); - vbuf = list_first_entry(&vgdev->free_vbufs, - struct virtio_gpu_vbuffer, list); - list_del(&vbuf->list); - spin_unlock(&vgdev->free_vbufs_lock); + vbuf = kmem_cache_alloc(vgdev->vbufs, GFP_KERNEL); + if (IS_ERR(vbuf)) + return ERR_CAST(vbuf); memset(vbuf, 0, VBUFFER_SIZE); BUG_ON(size > MAX_INLINE_CMD_SIZE); @@ -208,9 +173,7 @@ static void free_vbuf(struct virtio_gpu_device *vgdev, if (vbuf->resp_size > MAX_INLINE_RESP_SIZE) kfree(vbuf->re...
2018 Dec 12
5
CentOS 7.6 external USB dmesg issue
...4c6258>] ? hrtimer_cancel+0x28/0x40 [ 1085.193973] [<ffffffffa95d82c8>] ? zone_statistics+0x88/0xa0 [ 1085.193987] [<ffffffffc1bdfd35>] ext4_map_blocks+0x295/0x6e0 [ext4] [ 1085.193993] [<ffffffffa9657c7e>] ? do_select+0x73e/0x7c0 [ 1085.193999] [<ffffffffa961c0b2>] ? kmem_cache_alloc+0x1c2/0x1f0 [ 1085.194006] [<ffffffffa96787b1>] ? alloc_buffer_head+0x21/0x60 [ 1085.194018] [<ffffffffc1be035f>] _ext4_get_block+0x1df/0x220 [ext4] [ 1085.194030] [<ffffffffc1be03b6>] ext4_get_block+0x16/0x20 [ext4] [ 1085.194036] [<ffffffffa967ae78>] __block_write_begi...
2008 Nov 24
0
[LLVMdev] how to track down a kernel miscompilation?
...This is 2.6.28-rc6-tip, and LLVM SVN r59914. > > [ 0.000000] Detected 2832.689 MHz processor. > [ 0.004000] Console: colour VGA+ 80x25 > [ 0.004000] BUG: unable to handle kernel NULL pointer dereference at > 00000000000000e8 > [ 0.004000] IP: [<ffffffff802b3680>] kmem_cache_alloc+0x30/0xa0 > [ 0.004000] PGD 0 > [ 0.004000] Thread overran stack, or stack corrupted > [ 0.004000] Oops: 0000 [#1] PREEMPT SMP > [ 0.004000] last sysfs file: > [ 0.004000] CPU 0 > [ 0.004000] Modules linked in: > [ 0.004000] Pid: 0, comm: swapper Not tainte...
2008 Mar 17
1
Running CentOS 4.6 domUs on CentOS 5.1 dom0 and domUs crash
...00 00000001 c19fdd80 e8f6a700 cc57b000 00000010 00000001 000000d0 c1a1b080 0000000c c19fde08 c19fdd80 c0141f2e c19fdd80 Call Trace: [<c0141bbd>] cache_init_objs+0x35/0x56 [<c0141d3f>] cache_grow+0xfb/0x187 [<c0141f2e>] cache_alloc_refill+0x163/0x19c [<c0142149>] kmem_cache_alloc+0x67/0x97 [<c0111671>] pgd_alloc+0x17/0x336 [<c01199d4>] mm_init+0xd7/0x116 [<c01199e4>] mm_init+0xe7/0x116 [<c0119a3d>] mm_alloc+0x2a/0x31 [<c0163097>] do_execve+0x82/0x210 [<c0105d79>] sys_execve+0x2c/0x8e [<c010737f>] syscall_call+0x7/0xb Code: 74...
2008 Mar 17
1
Running CentOS 4.6 domUs on CentOS 5.1 dom0 and domUs crash
...00 00000001 c19fdd80 e8f6a700 cc57b000 00000010 00000001 000000d0 c1a1b080 0000000c c19fde08 c19fdd80 c0141f2e c19fdd80 Call Trace: [<c0141bbd>] cache_init_objs+0x35/0x56 [<c0141d3f>] cache_grow+0xfb/0x187 [<c0141f2e>] cache_alloc_refill+0x163/0x19c [<c0142149>] kmem_cache_alloc+0x67/0x97 [<c0111671>] pgd_alloc+0x17/0x336 [<c01199d4>] mm_init+0xd7/0x116 [<c01199e4>] mm_init+0xe7/0x116 [<c0119a3d>] mm_alloc+0x2a/0x31 [<c0163097>] do_execve+0x82/0x210 [<c0105d79>] sys_execve+0x2c/0x8e [<c010737f>] syscall_call+0x7/0xb Code: 74...