1. 07 5月, 2008 1 次提交
    • R
      RDMA/cxgb3: Don't add PBL memory to gen_pool in chunks · 0e991336
      Roland Dreier 提交于
      Current iw_cxgb3 code adds PBL memory to the driver's gen_pool in 2 MB
      chunks.  This limits the largest single allocation that can be done to
      the same size, which means that with 4 KB pages, each of which takes 8
      bytes of PBL memory, the largest memory region that can be allocated
      is 1 GB (256K PBL entries * 4 KB/entry).
      
      Remove this limit by adding all the PBL memory in a single gen_pool
      chunk, if possible.  Add code that falls back to smaller chunks if
      gen_pool_add() fails, which can happen if there is not sufficient
      contiguous lowmem for the internal gen_pool bitmap.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      0e991336
  2. 06 5月, 2008 35 次提交
  3. 05 5月, 2008 4 次提交
    • E
      Removal of FUTEX_FD · 82af7aca
      Eric Sesterhenn 提交于
      Since FUTEX_FD was scheduled for removal in June 2007 lets remove it.
      
      Google Code search found no users for it and NGPT was abandoned in 2003
      according to IBM.  futex.h is left untouched to make sure the id does
      not get reassigned.  Since queue_me() has no users left it is commented
      out to avoid a warning, i didnt remove it completely since it is part of
      the internal api (matching unqueue_me())
      Signed-off-by: NEric Sesterhenn <snakebyte@gmx.de>
      Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (removed rest)
      Acked-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      82af7aca
    • J
      kgdb: kconfig fix xconfig/menuconfig element · e024cbd2
      Jan Engelhardt 提交于
      Kconfig.kgdb: fix menuconfig element
      Signed-off-by: NJan Engelhardt <jengelh@computergmbh.de>
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      e024cbd2
    • H
      kgdb: fix signedness mixmatches, add statics, add declaration to header · 688b744d
      Harvey Harrison 提交于
      Noticed by sparse:
      arch/x86/kernel/kgdb.c:556:15: warning: symbol 'kgdb_arch_pc' was not declared. Should it be static?
      kernel/kgdb.c:149:8: warning: symbol 'kgdb_do_roundup' was not declared. Should it be static?
      kernel/kgdb.c:193:22: warning: symbol 'kgdb_arch_pc' was not declared. Should it be static?
      kernel/kgdb.c:712:5: warning: symbol 'remove_all_break' was not declared. Should it be static?
      
      Related to kgdb_hex2long:
      arch/x86/kernel/kgdb.c:371:28: warning: incorrect type in argument 2 (different signedness)
      arch/x86/kernel/kgdb.c:371:28:    expected long *long_val
      arch/x86/kernel/kgdb.c:371:28:    got unsigned long *<noident>
      kernel/kgdb.c:469:27: warning: incorrect type in argument 2 (different signedness)
      kernel/kgdb.c:469:27:    expected long *long_val
      kernel/kgdb.c:469:27:    got unsigned long *<noident>
      kernel/kgdb.c:470:27: warning: incorrect type in argument 2 (different signedness)
      kernel/kgdb.c:470:27:    expected long *long_val
      kernel/kgdb.c:470:27:    got unsigned long *<noident>
      kernel/kgdb.c:894:27: warning: incorrect type in argument 2 (different signedness)
      kernel/kgdb.c:894:27:    expected long *long_val
      kernel/kgdb.c:894:27:    got unsigned long *<noident>
      kernel/kgdb.c:895:27: warning: incorrect type in argument 2 (different signedness)
      kernel/kgdb.c:895:27:    expected long *long_val
      kernel/kgdb.c:895:27:    got unsigned long *<noident>
      kernel/kgdb.c:1127:28: warning: incorrect type in argument 2 (different signedness)
      kernel/kgdb.c:1127:28:    expected long *long_val
      kernel/kgdb.c:1127:28:    got unsigned long *<noident>
      kernel/kgdb.c:1132:25: warning: incorrect type in argument 2 (different signedness)
      kernel/kgdb.c:1132:25:    expected long *long_val
      kernel/kgdb.c:1132:25:    got unsigned long *<noident>
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      688b744d
    • J
      kgdb: 1000 loops for the single step test in kgdbts · 7cfcd985
      Jason Wessel 提交于
      The single step test is not terribly costly and it should be able to
      pass at 1000 loops successfully in under 1 second.  A non-kgdb timing
      regression was found using this test, but it did not occur frequently
      because by default the test was only executed a single time.
      
      This patch changes the default for the single step test to 1000
      iterations and allows for individual configuration of the single step
      test to further exercise the kgdb subsystem when needed.
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      7cfcd985