lkml.org 
[lkml]   [2009]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: drop_caches ...
    On Thu, Mar 05, 2009 at 04:01:25PM +0200, Lukas Hejtmanek wrote:
    > On Thu, Mar 05, 2009 at 09:36:03PM +0800, Wu Fengguang wrote:
    > > > filesize and "cached" the amount of the file being in cache (why can
    > > > this be bigger than the file?!).
    > >
    > > size = file size in bytes
    > > cached = cached pages
    > >
    > > So it's normal that (size > cached).
    >
    > and one more thing. It seems that at least in the version of filecache I have,
    > the size and cached are in kB rather than in B.

    Ah sorry for the confusion, it is in KB: DIV_ROUND_UP(size, 1024).
    It may be better to simply use bytes though.

    Thanks,
    Fengguang



    \
     
     \ /
      Last update: 2009-03-05 15:11    [W:0.019 / U:1.832 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site