Skip to content
Snippets Groups Projects
  1. Jan 23, 2012
  2. Jan 19, 2012
  3. Jan 18, 2012
  4. Jan 17, 2012
  5. Jan 16, 2012
  6. Jan 14, 2012
  7. Jan 13, 2012
  8. Jan 12, 2012
    • Kay Sievers's avatar
      modules: sysfs - export: taint, coresize, initsize · cca3e707
      Kay Sievers authored
      
      Recent tools do not want to use /proc to retrieve module information. A few
      values are currently missing from sysfs to replace the information available
      in /proc/modules.
      
      This adds /sys/module/*/{coresize,initsize,taint} attributes.
      
      TAINT_PROPRIETARY_MODULE (P) and TAINT_OOT_MODULE (O) flags are both always
      shown now, and do no longer exclude each other, also in /proc/modules.
      
      Replace the open-coded sysfs attribute initializers with the __ATTR() macro.
      
      Add the new attributes to Documentation/ABI.
      
      Cc: Lucas De Marchi <lucas.demarchi@profusion.mobi>
      Signed-off-by: default avatarKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      cca3e707
    • Sage Weil's avatar
      ceph: enable/disable dentry complete flags via mount option · a40dc6cc
      Sage Weil authored
      
      Enable/disable use of the dentry dir 'complete' flag via a mount option.
      This lets the admin control whether ceph uses the dcache to satisfy
      negative lookups or readdir when it has the entire directory contents in
      its cache.
      
      This is purely a performance optimization; correctness is guaranteed
      whether it is enabled or not.
      
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarSage Weil <sage@newdream.net>
      a40dc6cc
    • Davidlohr Bueso's avatar
      lguest: move the lguest tool to the tools directory · 07fe9977
      Davidlohr Bueso authored
      
      This is a better location instead of having it in Documentation.
      
      Signed-off-by: default avatarDavidlohr Bueso <dave@gnu.org>
      Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (fixed compile)
      07fe9977
    • Stephen Boyd's avatar
      mmc: core: Fixup delayed work clock gating patch · 4137e504
      Stephen Boyd authored
      
      c31b50e (mmc: core: Use delayed work in clock gating framework,
      2011-11-14) missed a few things during review:
      
       o A useless pr_info()
      
       o milliseconds was written as two words
      
       o The sysfs file had units in its output
      
      Fix all three problems.
      
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Cc: Sujit Reddy Thumma <sthumma@codeaurora.org>
      Signed-off-by: default avatarChris Ball <cjb@laptop.org>
      4137e504
    • Johan Rudholm's avatar
      mmc: boot partition ro lock support · add710ea
      Johan Rudholm authored
      
      Enable boot partitions to be read-only locked until next power on via
      a sysfs entry. There will be one sysfs entry for each boot partition:
      
      /sys/block/mmcblkXbootY/ro_lock_until_next_power_on
      
      Each boot partition is locked by writing 1 to its file.
      
      Signed-off-by: default avatarJohan Rudholm <johan.rudholm@stericsson.com>
      Signed-off-by: default avatarJohn Beckett <john.beckett@stericsson.com>
      Signed-off-by: default avatarChris Ball <cjb@laptop.org>
      add710ea
    • Sujit Reddy Thumma's avatar
      mmc: core: Use delayed work in clock gating framework · 597dd9d7
      Sujit Reddy Thumma authored
      
      Current clock gating framework disables the MCI clock as soon as the
      request is completed and enables it when a request arrives. This aggressive
      clock gating framework, when enabled, cause following issues:
      
      When there are back-to-back requests from the Queue layer, we unnecessarily
      end up disabling and enabling the clocks between these requests since 8MCLK
      clock cycles is a very short duration compared to the time delay between
      back to back requests reaching the MMC layer. This overhead can effect the
      overall performance depending on how long the clock enable and disable
      calls take which is platform dependent. For example on some platforms we
      can have clock control not on the local processor, but on a different
      subsystem and the time taken to perform the clock enable/disable can add
      significant overhead.
      
      Also if the host controller driver decides to disable the host clock too
      when mmc_set_ios function is called with ios.clock=0, it adds additional
      delay and it is highly possible that the next request had already arrived
      and unnecessarily blocked in enabling the clocks. This is seen frequently
      when the processor is executing at high speeds and in multi-core platforms
      thus reduces the overall throughput compared to if clock gating is
      disabled.
      
      Fix this by delaying turning off the clocks by posting request on
      delayed workqueue. Also cancel the unscheduled pending work, if any,
      when there is access to card.
      
      sysfs entry is provided to tune the delay as needed, default
      value set to 200ms.
      
      Signed-off-by: default avatarSujit Reddy Thumma <sthumma@codeaurora.org>
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarChris Ball <cjb@laptop.org>
      597dd9d7
  9. Jan 11, 2012
Loading