• Joonsoo Kim's avatar
    mm/slab: fix unalignment problem on Malta with EVA due to slab merge · 95069ac8
    Joonsoo Kim authored
    Unlike SLUB, sometimes, object isn't started at the beginning of the
    slab in SLAB.  This causes the unalignment problem after slab merging is
    supported by commit 12220dea ("mm/slab: support slab merge").
    
    Following is the report from Markos that fail to boot on Malta with EVA.
    
        Calibrating delay loop... 19.86 BogoMIPS (lpj=99328)
        pid_max: default: 32768 minimum: 301
        Mount-cache hash table entries: 4096 (order: 0, 16384 bytes)
        Mountpoint-cache hash table entries: 4096 (order: 0, 16384 bytes)
        Kernel bug detected[#1]:
        CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.17.0-05639-g12220dea #1631
        task: 1f04f5d8 ti: 1f050000 task.ti: 1f050000
        epc   : 80141190 alloc_unbound_pwq+0x234/0x304
            Not tainted
        ra    : 80141184 alloc_unbound_pwq+0x228/0x304
        Process swapper/0 (pid: 1, threadinfo=1f050000, task=1f04f5d8, tls=00000000)
        Call Trace:
          alloc_unbound_pwq+0x234/0x304
          apply_workqueue_...
    95069ac8
slab_common.c 23.7 KB