Re: Add pselect, ppoll system calls.

From: Ulrich Drepper (drepper_at_redhat.com)
Date: 06/13/05

  • Next message: Nguyen, Tom L: "RE: [Penance PATCH] PCI: clean up the MSI code a bit"
    Date:	Mon, 13 Jun 2005 09:10:13 -0700
    To: David Woodhouse <dwmw2@infradead.org>
    
    
    

    David Woodhouse wrote:
    > 64-bit value for which? For seconds?

    poll()'s timeout value is measrued in milliseconds. Using a 32bit
    value, as implied by using 'int' for the type, limits the mximum timeout
    to be 2^31-1 milliseconds, which means about 24 days. Believe it or
    not, people are complaining about this. Changing the timeout to a 64
    bit millisecond timeout would lift the limitation from the API's POV. I
    don't know what limitations exist in the kernel itself.

    -- 
    ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
    
    

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/



  • Next message: Nguyen, Tom L: "RE: [Penance PATCH] PCI: clean up the MSI code a bit"

    Relevant Pages