[lkml]   [2003]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.6.0-test9-mm4 (only) and vmware
    On Wed, Nov 19, 2003 at 06:34:57PM -0800, William Lee Irwin III wrote:
    >> I'm going to ruminate on non-fatal methods of complaining loudly.

    On Wed, Nov 19, 2003 at 06:40:37PM -0500, Christopher Li wrote:
    > SPARSE checker?

    I was thinking of teaching the fault handlers to complain about
    ->nopage() methods returning invalid results in a non-fatal manner,
    possibly with code consolidation.

    e.g. every arch does:

    switch (handle_mm_fault(...)) {
    case VM_FAULT_MINOR:
    case VM_FAULT_MAJOR:
    goto do_sigbus;
    case VM_FAULT_OOM:
    goto out_of_memory;

    which is vaguely repetitive. It's not immediately clear how to
    consolidate gotos, which is where the thought starts happening.

    The other part was replacing default: BUG() with something that
    complained (e.g. putting print_symbol() to use on the ->nopage()
    method) and treating the invalid statuses like OOM, but that's
    not really very hard to do (I posted something that did some
    crude reporting of that kind already to handle the sound/ bogons).

    -- wli
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:58    [W:0.021 / U:52.168 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site