1. 29 10月, 2007 3 次提交
  2. 25 10月, 2007 1 次提交
    • H
      fix sg_phys to use dma_addr_t · 85cdffcd
      Hugh Dickins 提交于
      x86_32 CONFIG_HIGHMEM64G with 5GB RAM hung when booting, after issuing
      some "request_module: runaway loop modprobe binfmt-0000" messages in
      trying to exec /sbin/init.
      
      The binprm buf doesn't see the right ".ELF" header because sg_phys()
      is providing the wrong physical addresses for high pages: a 32-bit
      unsigned long is too small in this case, we need to use dma_addr_t.
      Signed-off-by: NHugh Dickins <hugh@veritas.com>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      85cdffcd
  3. 24 10月, 2007 2 次提交
  4. 23 10月, 2007 2 次提交
    • J
      Add CONFIG_DEBUG_SG sg validation · d6ec0842
      Jens Axboe 提交于
      Add a Kconfig entry which will toggle some sanity checks on the sg
      entry and tables.
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      d6ec0842
    • J
      Change table chaining layout · 18dabf47
      Jens Axboe 提交于
      Change the page member of the scatterlist structure to be an unsigned
      long, and encode more stuff in the lower bits:
      
      - Bits 0 and 1 zero: this is a normal sg entry. Next sg entry is located
        at sg + 1.
      - Bit 0 set: this is a chain entry, the next real entry is at ->page_link
        with the two low bits masked off.
      - Bit 1 set: this is the final entry in the sg entry. sg_next() will return
        NULL when passed such an entry.
      
      It's thus important that sg table users use the proper accessors to get
      and set the page member.
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      18dabf47
  5. 22 10月, 2007 1 次提交
  6. 16 10月, 2007 2 次提交
  7. 21 9月, 2006 1 次提交
  8. 30 10月, 2005 1 次提交
    • H
      [PATCH] Introduce sg_set_buf · d32311fe
      Herbert Xu 提交于
      sg_init_one is a nice tool for the block layer.  However, users
      of struct scatterlist in other subsystems don't usually need the
      DMA attributes.  For them it's a waste of time and space to
      initialise the whole struct scatterlist structure.
      
      Therefore this patch adds a new function sg_set_buf to initialise
      a scatterlist without zeroing the DMA attributes.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      d32311fe
  9. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4