1. 26 9月, 2012 13 次提交
  2. 17 9月, 2012 1 次提交
    • G
      s390/mm: fix user access page-table walk code · 4db84d4f
      Gerald Schaefer 提交于
      The s390 page-table walk code, used for user copy and futex, currently
      cannot handle huge pages. As far as user copy is concerned, that is
      not really a problem because those functions will only be used on old
      hardware that has no huge page support. But the futex code will also
      use pagetable walk functions on current hardware when user space runs
      in primary space mode. So, if a futex sits in a huge page, the futex
      operation on it will result in a page fault loop or even data
      corruption.
      
      This patch adds the code for resolving huge page mappings in the user
      access pagetable walk code on s390.
      Signed-off-by: NGerald Schaefer <gerald.schaefer@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      4db84d4f
  3. 10 9月, 2012 1 次提交
  4. 06 9月, 2012 1 次提交
  5. 03 9月, 2012 1 次提交
  6. 30 8月, 2012 1 次提交
  7. 28 8月, 2012 1 次提交
  8. 27 8月, 2012 1 次提交
  9. 21 8月, 2012 1 次提交
    • G
      s390: Always use "long" for ssize_t to match size_t · cbe05685
      Geert Uytterhoeven 提交于
      On s390x-linux-gcc, __SIZE_TYPE__ expands to "long unsigned int" for both
      32-bit s390 and 64-bit s390x, as
      gcc-4.6.3-nolibc/s390x-linux/lib/gcc/s390x-linux/4.6.3/plugin/include/config/s390/linux.h
      has
      
          #define SIZE_TYPE (TARGET_64BIT ? "long unsigned int" : "long unsigned int")
      
      To match this, __kernel_size_t is always set to "long unsigned int".
      
      But while __kernel_ssize_t is "long" on 64-bit s390x, it is "int" on 32-bit
      s390, causing compiler warnings like:
      
          fs/quota/quota_tree.c:372:4: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'ssize_t' [-Wformat]
      
      To fix this, __kernel_ssize_t should be "long", irrespective of word size.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      cbe05685
  10. 08 8月, 2012 5 次提交
  11. 01 8月, 2012 1 次提交
    • A
      memcg: rename config variables · c255a458
      Andrew Morton 提交于
      Sanity:
      
      CONFIG_CGROUP_MEM_RES_CTLR -> CONFIG_MEMCG
      CONFIG_CGROUP_MEM_RES_CTLR_SWAP -> CONFIG_MEMCG_SWAP
      CONFIG_CGROUP_MEM_RES_CTLR_SWAP_ENABLED -> CONFIG_MEMCG_SWAP_ENABLED
      CONFIG_CGROUP_MEM_RES_CTLR_KMEM -> CONFIG_MEMCG_KMEM
      
      [mhocko@suse.cz: fix missed bits]
      Cc: Glauber Costa <glommer@parallels.com>
      Acked-by: NMichal Hocko <mhocko@suse.cz>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: Hugh Dickins <hughd@google.com>
      Cc: Tejun Heo <tj@kernel.org>
      Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      Cc: David Rientjes <rientjes@google.com>
      Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c255a458
  12. 31 7月, 2012 2 次提交
  13. 30 7月, 2012 4 次提交
  14. 26 7月, 2012 6 次提交
  15. 20 7月, 2012 1 次提交