1. 13 5月, 2006 4 次提交
  2. 12 5月, 2006 13 次提交
  3. 10 5月, 2006 1 次提交
  4. 09 5月, 2006 4 次提交
  5. 08 5月, 2006 2 次提交
    • D
      Remove inter_module_xxx() from DiskOnChip drivers. · 5e535429
      David Woodhouse 提交于
      Finally putting it back how it was before Keith got at it -- yay :)
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      5e535429
    • L
      [MTD] Convert physmap to platform driver · 73566edf
      Lennert Buytenhek 提交于
      After dwmw2 let me know it ought to be done, I rewrote the physmap map
      driver to be a platform driver.  I know zilch about the driver model,
      so I probably botched it in some way, but I've done some tests on an
      ixp23xx board which uses physmap, and it all seems to work.
      
      In order to not break existing physmap users, I've added some compat
      code that will instantiate a platform device iff CONFIG_MTD_PHYSMAP_LEN
      is defined and != 0.  Also, I've changed the default value for
      CONFIG_MTD_PHYSMAP_LEN to zero, so that people who inadvertently
      compile in physmap (or new, platform-style, users of physmap) don't get
      burned.
      
      This works pretty well -- the new physmap driver is a drop-in replacement
      for the old one, and works on said ixp23xx board without any code changes
      needed.  (This should hold as long as users don't touch 'physmap_map'
      directly.)
      
      Once all physmap users have been converted to instantiate their own
      platform devices, the compat code can go.  (Or we decide that we can
      change all the in-tree users at the same time, and never merge the
      compat code.)
      Signed-off-by: NLennert Buytenhek <buytenh@wantstofly.org>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      73566edf
  6. 06 5月, 2006 1 次提交
  7. 03 5月, 2006 6 次提交
  8. 02 5月, 2006 9 次提交
    • J
      [PATCH] vmsplice: restrict stealing a little more · 330ab716
      Jens Axboe 提交于
      Apply the same rules as the anon pipe pages, only allow stealing
      if no one else is using the page.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      330ab716
    • J
      [PATCH] splice: fix page LRU accounting · a893b99b
      Jens Axboe 提交于
      Currently we rely on the PIPE_BUF_FLAG_LRU flag being set correctly
      to know whether we need to fiddle with page LRU state after stealing it,
      however for some origins we just don't know if the page is on the LRU
      list or not.
      
      So remove PIPE_BUF_FLAG_LRU and do this check/add manually in pipe_to_file()
      instead.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      a893b99b
    • J
      [PATCH] vmsplice: fix badly placed end paranthesis · 7591489a
      Jens Axboe 提交于
      We need to use the minium of {len, PAGE_SIZE-off}, not {len, PAGE_SIZE}-off.
      The latter doesn't make any sense, and could cause us to attempt negative
      length transfers...
      Signed-off-by: NJens Axboe <axboe@suse.de>
      7591489a
    • L
      Merge branch 'audit.b10' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current · 532f57da
      Linus Torvalds 提交于
      * 'audit.b10' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current:
        [PATCH] Audit Filter Performance
        [PATCH] Rework of IPC auditing
        [PATCH] More user space subject labels
        [PATCH] Reworked patch for labels on user space messages
        [PATCH] change lspp ipc auditing
        [PATCH] audit inode patch
        [PATCH] support for context based audit filtering, part 2
        [PATCH] support for context based audit filtering
        [PATCH] no need to wank with task_lock() and pinning task down in audit_syscall_exit()
        [PATCH] drop task argument of audit_syscall_{entry,exit}
        [PATCH] drop gfp_mask in audit_log_exit()
        [PATCH] move call of audit_free() into do_exit()
        [PATCH] sockaddr patch
        [PATCH] deal with deadlocks in audit_free()
      532f57da
    • P
      [NETFILTER] x_tables: fix compat related crash on non-x86 · 46c5ea3c
      Patrick McHardy 提交于
      When iptables userspace adds an ipt_standard_target, it calculates the size
      of the entire entry as:
      
      sizeof(struct ipt_entry) + XT_ALIGN(sizeof(struct ipt_standard_target))
      
      ipt_standard_target looks like this:
      
        struct xt_standard_target
        {
              struct xt_entry_target target;
              int verdict;
        };
      
      xt_entry_target contains a pointer, so when compiled for 64 bit the
      structure gets an extra 4 byte of padding at the end. On 32 bit
      architectures where iptables aligns to 8 byte it will also have 4
      byte padding at the end because it is only 36 bytes large.
      
      The compat_ipt_standard_fn in the kernel adjusts the offsets by
      
        sizeof(struct ipt_standard_target) - sizeof(struct compat_ipt_standard_target),
      
      which will always result in 4, even if the structure from userspace
      was already padded to a multiple of 8. On x86 this works out by
      accident because userspace only aligns to 4, on all other
      architectures this is broken and causes incorrect adjustments to
      the size and following offsets.
      
      Thanks to Linus for lots of debugging help and testing.
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      46c5ea3c
    • L
      Merge branch 'splice' of git://brick.kernel.dk/data/git/linux-2.6-block · 9817d207
      Linus Torvalds 提交于
      * 'splice' of git://brick.kernel.dk/data/git/linux-2.6-block:
        [PATCH] vmsplice: allow user to pass in gift pages
        [PATCH] pipe: enable atomic copying of pipe data to/from user space
        [PATCH] splice: call handle_ra_miss() on failure to lookup page
        [PATCH] Add ->splice_read/splice_write to def_blk_fops
        [PATCH] pipe: introduce ->pin() buffer operation
        [PATCH] splice: fix bugs in pipe_to_file()
        [PATCH] splice: fix bugs with stealing regular pipe pages
      9817d207
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband · cf105601
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
        IB/ipath: tidy up white space in a few files
        IB/ipath: fix label name in interrupt handler
        IB/ipath: improve sparse annotation
        IB/ipath: simplify IB timer usage
        IB/ipath: simplify RC send posting
        IB/ipath: prevent hardware from being accessed during reset
        IB/ipath: fix verbs registration
        IB/ipath: change handling of PIO buffers
        IB/ipath: iterate over correct number of ports during reset
        IB/ipath: set up 32-bit DMA mask if 64-bit setup fails
        IB/ipath: fix race with exposing reset file
        IB/mthca: Fix offset in query_gid method
      cf105601
    • S
      [PATCH] timer TSC check suspend notifier change · 6ba815de
      Shaohua Li 提交于
      At suspend time, the TSC CPUFREQ_SUSPENDCHANGE notifier change might
      wrongly enable interrupt.  cpufreq driver suspend/resume is in interrupt
      disabled environment.
      Signed-off-by: NShaohua Li <shaohua.li@intel.com>
      Cc: Pavel Machek <pavel@ucw.cz>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      6ba815de
    • M
      [PATCH] x86_64: make PC Speaker driver work · 160bd18e
      Mikael Pettersson 提交于
      The PC Speaker driver's ->probe() routine doesn't even get called in the
      64-bit kernels.  The reason for that is that the arch code apparently has
      to explictly add a "pcspkr" platform device in order for the driver core to
      call the ->probe() routine.  arch/i386/kernel/setup.c unconditionally adds
      a "pcspkr" device, but the x86_64 kernel has no code at all related to the
      PC Speaker.
      
      The patch below copies the relevant code from i386 to x86_64, which makes
      the PC Speaker work for me on x86_64.
      
      Cc: Dmitry Torokhov <dtor_core@ameritech.net>
      Acked-by: NAndi Kleen <ak@muc.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      160bd18e