Re: [PATCH] huge_memory: fix huge zero page refcount

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

 



On Wed, Dec 12, 2012 at 02:44:37PM +0800, Bob Liu wrote:
> Hi Andrew,
> 
> It seems patch "[PATCH v5 10/11] thp: implement refcounting for huge zero
> page" was merged wrong into your tree.
> 
> In Kirill's patch, put_huge_zero_page() is called in
> do_huge_pmd_wp_zero_page_fallback().
> But in linux-next and linux-mmotm.git, it's called in
> do_huge_pmd_wp_page_fallback().
> 
> That's wrong and make below BUG triggered again:
> 
> [ 1384.485993] ------------[ cut here ]------------
> [ 1384.486031] kernel BUG at mm/huge_memory.c:213!
> [ 1384.486055] invalid opcode: 0000 [#1] PREEMPT SMP
> .....
> 3.7.0-rc8+ #53 Dell Inc. OptiPlex 760                 /0M860N
> [ 1384.486473] EIP: 0060:[<c114d9d8>] EFLAGS: 00010202 CPU: 1
> [ 1384.486504] EIP is at put_huge_zero_page+0x18/0x20
> [ 1384.486528] EAX: 00000001 EBX: 00000008 ECX: 00000000 EDX: ed5c4000
> [ 1384.486556] ESI: b5a00000 EDI: ed7af000 EBP: ed5c5e8c ESP: ed5c5e8c
> [ 1384.486585]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
> [ 1384.486611] CR0: 8005003b CR2: b59ffba8 CR3: 2e79a000 CR4: 000427f0
> [ 1384.486639] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
> [ 1384.486668] DR6: ffff0ff0 DR7: 00000400
> [ 1384.486687] Process gnome-terminal (pid: 12714, ti=ed5c4000 task=ebd59a60
> task.ti=ed5c4000)
> [ 1384.486724] Stack:
> [ 1384.486735]  ed5c5eec c1151329 092fb067 80000000 eaf9eca8 ed7ae800 ed7ae800
> 2c6f9000
> [ 1384.486786]  00000000 f5ff16e8 f251d378 00000163 b5a00000 f4622000 b5800000
> f251d340
> [ 1384.486836]  ec7b6c60 80000000 092fb067 2c6f9067 00000000 c74000c5 80000000
> eaf9ed60
> [ 1384.486887] Call Trace:
> [ 1384.486902]  [<c1151329>] do_huge_pmd_wp_page+0x949/0xb60
> [ 1384.486929]  [<c1128aff>] handle_mm_fault+0x14f/0x330
> [ 1384.486956]  [<c1804810>] ? __do_page_fault+0x550/0x550
> [ 1384.486981]  [<c180440d>] __do_page_fault+0x14d/0x550
> [ 1384.487005]  [<c180481d>] ? do_page_fault+0xd/0x10
> [ 1384.487030]  [<c1801cdf>] ? error_code+0x67/0x6c
> [ 1384.487054]  [<c180007b>] ? __schedule+0x66b/0x7c0
> [ 1384.487080]  [<c12ea155>] ? __put_user_4+0x11/0x18
> [ 1384.487104]  [<c1804810>] ? __do_page_fault+0x550/0x550
> [ 1384.487130]  [<c180481d>] do_page_fault+0xd/0x10
> [ 1384.487153]  [<c1801cdf>] error_code+0x67/0x6c
> [ 1384.487176]  [<c1800000>] ? __schedule+0x5f0/0x7c0
> 
> Signed-off-by: Bob Liu <lliubbo@xxxxxxxxx>

Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>

-- 
 Kirill A. Shutemov

Attachment: signature.asc
Description: Digital signature


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