Re: [PATCH] Autoregulate vm swappiness cleanup

Valdis.Kletnieks_at_vt.edu
Date: 10/28/03

  • Next message: cliff white: "Re: 2.6.0-test8/test9 io scheduler needs tuning?"
    To: mru@kth.se (Måns Rullgård)
    Date:	Tue, 28 Oct 2003 12:33:41 -0500
    
    
    

    On Tue, 28 Oct 2003 17:51:48 +0100, mru@kth.se (=?iso-8859-1?q?M=E5ns_Rullg=E5rd?=) said:

    > Doing that mistake would give a linker error.

    Not necessarily. Consider shared libraries. Load module1.so, load module2.so,
    and then load module3.so that has an unresolved reference that both of the
    other two happen to have. Oh wow.. results that are dependent on the order of
    -l flags in a non-obvious way... And '-z muldefs' is always a good way to
    shoot yourself in the foot.....

    Yes, it's stupid, yes, it's a mistake - my point is that the design of C makes that
    sort of mistake more likely. If there *did* exist a "private to all the pieces of the
    module" status similar to the "private to THIS .c 'static'", it wouldn't be anywhere
    near the problem.

    And don't tell me that the Linux kernel hasn't seen similar issues - a supposedly
    private interface that didn't have 'static' because it *was* called from 2 other
    .c files in the directory. And then we have to tell people "don't call that interface,
    it's private".

    
    

    -
    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: cliff white: "Re: 2.6.0-test8/test9 io scheduler needs tuning?"

    Relevant Pages

    • Unsual RichTextBox behavior
      ... What I was doing was I was loading some text into a RTB and and into an ... What I found was that the RTB.Text before load does not equal RTB.Text ... private mshtml.IHTMLDocument2 page; ... private string beforeLoad; ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: Changing properties of form controls
      ... This is because you are creating an instance of FormUserInfo and setting ... avdetails class and use the methods to load itself. ... Not attributes but fields or private / member variables. ... Member variables are private but are accessible through property accessors. ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: VB application crashes
      ... These are functions that load data into Listviews, ... Private Function LoadPositions() ... Dim rsjob As Recordset ... Set rsjob = dbfASIC.OpenRecordset ...
      (microsoft.public.vb.general.discussion)
    • Re: Windows XP SP2: Base address for netapi32.dll
      ... > private copy and always load the one from System32. ... system crash due to mismatched DLLs), ... > Tim Robinson ...
      (microsoft.public.win32.programmer.kernel)
    • Re: [PATCH 3/39] NLKD - early/late CPU up/down notification
      ... When you try to load the module, you will get the error again, right in ... your kernel/system log, which explicitly shows that you had a problem. ... > load an offending module (which, as in the case named, may lead to an ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)