14 Oct, 2006

2 commits

  • Intel processors starting with the Core Duo support
    support processor native C-state using the MWAIT instruction.
    Refer: Intel Architecture Software Developer's Manual
    http://www.intel.com/design/Pentium4/manuals/253668.htm

    Platform firmware exports the support for Native C-state to OS using
    ACPI _PDC and _CST methods.
    Refer: Intel Processor Vendor-Specific ACPI: Interface Specification
    http://www.intel.com/technology/iapc/acpi/downloads/302223.htm

    With Processor Native C-state, we use 'MWAIT' instruction on the processor
    to enter different C-states (C1, C2, C3). We won't use the special IO
    ports to enter C-state and no SMM mode etc required to enter C-state.
    Overall this will mean better C-state support.

    One major advantage of using MWAIT for all C-states is, with this and
    "treat interrupt as break event" feature of MWAIT, we can now get accurate
    timing for the time spent in C1, C2, .. states.

    Signed-off-by: Venkatesh Pallipadi
    Signed-off-by: Andrew Morton
    Signed-off-by: Len Brown

    Venkatesh Pallipadi
     
  • That was slightly more painful than really necessary..

    Linus Torvalds
     

13 Oct, 2006

25 commits


12 Oct, 2006

13 commits

  • * master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6:
    sh: SH-4A UBC support
    sh: interrupt exception handling rework
    sh: Default enable R7780RP IRQs.
    sh: Zero-out coherent buffer in consistent_alloc().
    sh: Convert IPR-IRQ to IRQ chip.
    sh: Convert INTC2 IRQ handler to irq_chip.
    sh: Fix pr_debug statements for sh4
    sh: Convert r7780rp IRQ handler to IRQ chip.
    sh: Updates for IRQ handler changes.
    sh: Kill off timer_ops get_frequency().
    sh: First step at generic timeofday support.

    Linus Torvalds
     
  • Signed-off-by: Jens Axboe

    Jens Axboe
     
  • `select' is a bit obnoxious: the option keeps on coming back
    and it's hard to work out what to do to make it go away again.
    The use of `depends on' is preferred (although it has
    usability problems too..)

    Signed-off-by: Andrew Morton
    Signed-off-by: Steve French

    Andrew Morton
     
  • * 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block:
    [PATCH] block layer: ioprio_best function fix
    [PATCH] ide-cd: fix breakage with internally queued commands
    [PATCH] block layer: elv_iosched_show should get elv_list_lock
    [PATCH] splice: fix pipe_to_file() ->prepare_write() error path
    [PATCH] block layer: elevator_find function cleanup
    [PATCH] elevator: elevator_type member not used

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
    [PKT_SCHED] sch_htb: use rb_first() cleanup
    [RTNETLINK]: Fix use of wrong skb in do_getlink()
    [DECNET]: Fix sfuzz hanging on 2.6.18
    [NET]: Do not memcmp() over pad bytes of struct flowi.
    [NET]: Introduce protocol-specific destructor for time-wait sockets.
    [NET]: Use typesafe inet_twsk() inline function instead of cast.
    [NET]: Use hton{l,s}() for non-initializers.
    [TCP]: Use TCPOLEN_TSTAMP_ALIGNED macro instead of magic number.
    [IPV6]: Seperate sit driver to extra module (addrconf.c changes)
    [IPV6]: Seperate sit driver to extra module
    [NET]: File descriptor loss while receiving SCM_RIGHTS
    [SCTP]: Fix the RX queue size shown in /proc/net/sctp/assocs output.
    [SCTP]: Fix receive buffer accounting.
    SELinux: Bug fix in polidydb_destroy
    IPsec: fix handling of errors for socket policies
    IPsec: correct semantics for SELinux policy matching
    IPsec: propagate security module errors up from flow_cache_lookup
    NetLabel: use SECINITSID_UNLABELED for a base SID
    NetLabel: fix a cache race condition

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
    [SPARC32]: Fix sparc32 modpost warnings.
    [SPARC32]: Fix sparc32 modpost warnings with sunzilog
    [SPARC32]: Mark srmmu_nocache_init as __init.
    [SPARC32]: pcic.c needs asm/irq_regs.h

    Linus Torvalds
     
  • This patch fixes my one line thinko where I was clearing
    the vector_irq entries on the wrong cpus.

    Signed-off-by: Eric W. Biederman
    Signed-off-by: Linus Torvalds

    Eric W. Biederman
     
  • Currently ioprio_best function first checks wethere aioprio or bioprio equals
    IOPRIO_CLASS_NONE (ioprio_valid() macros does that) and if it is so it returns
    bioprio/aioprio appropriately. Thus the next four lines, that set aclass/bclass
    to IOPRIO_CLASS_BE, if aclass/bclass == IOPRIO_CLASS_NONE, are never executed.

    The second problem: if aioprio from class IOPRIO_CLASS_NONE and bioprio from
    class IOPRIO_CLASS_IDLE are passed to ioprio_best function, it will return
    IOPRIO_CLASS_IDLE. It means that during __make_request we can merge two
    requests and set the priority of merged request to IDLE, while one of
    the initial requests originates from a process with NONE (default) priority.
    So we can get a situation when a process with default ioprio will experience
    IO starvation, while there is no process from real-time class in the system.

    Just removing ioprio_valid check should correct situation.

    Signed-off-by: Vasily Tarasov
    Signed-off-by: Jens Axboe

    Vasily Tarasov
     
  • We still need to maintain a private PC style command, since it
    isn't completely unified with REQ_TYPE_BLOCK_PC yet.

    Signed-off-by: Jens Axboe

    Jens Axboe
     
  • elv_iosched_show function iterates other elv_list, hence
    elv_list_lock should be got.

    Signed-off-by: Vasily Tarasov
    Signed-off-by: Vasily Tarasov

    Vasily Tarasov
     
  • Don't jump to the unlock+release path, we already did that.

    Signed-off-by: Jens Axboe

    Jens Axboe
     
  • We can easily produce search through the elevator list
    without introducing additional elevator_type variable.

    Signed-off-by: Vasily Tarasov
    Signed-off-by: Jens Axboe

    Vasily Tarasov
     
  • elevator_type field in elevator_type structure is useless:
    it isn't used anywhere in kernel sources.

    Signed-off-by: Vasily Tarasov
    Signed-off-by: Jens Axboe

    Jens Axboe