Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 108165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:52:08+00:00 2026-05-11T01:52:08+00:00

We have some software which relied on certain behavior from another ( very commonly

  • 0

We have some software which relied on certain behavior from another (very commonly used) application that has now changed, rendering our current implementation workable, but less than optimal.

We believe that this change may have affected a number of other applications, particularly in the performance monitoring arena, and we have found a solution that we believe will improve a slew of other potential problems.

Unfortunately, said solution is a kernel change (relatively simple but high-impact if we stuff it up) and we have no experience in submitting kernel patches for review.

Has anyone on SO actually submitted a patch (while I’d appreciate all answers, I suspect the best ones will come from those that have been through the process, even unsuccessfully)? Have you had it accepted (what are the chances that Alan Cox et al hangs about on SO)?

What is the correct process to follow? I have no intention of sending off an email to Linus since I know he has a cadre of protectors that you’re supposed to go through before it gets to him. How do I find out who is responsible for a particular section of the kernel.

It may be that I’m being overly optimistic in thinking someone the kernel world’s never heard of can contribute, but I’d be interested to find out.


EDIT with more details:

The change is not actually for a performance bug, but an improvement (in my view) to the process accounting entries (currently) written when a process terminates.

Websphere App Server (ah, IBM, bless their little hearts) has changed what it does; JVMs used to exit regularly so that their entries were written and we could use that for chargeback. Now it leaves JVMs lying around for months, meaning the data is not available in a timely fashion unless we force WAS down regularly. Somehow I don’t think IBM’s Software Group are going to fix their software for us :-). In any case, I believe it may be a useful feature to have for other long-lived processes.

Currently type-3 process accounting records are written when a process exits, what we’re looking at is a mechanism to write type-N records periodically while a process is still active giving the figures since last write (or process start if this is the first time). Chargeback or performance-monitoring applications could choose to use either the type-3 records (totally unchanged) or the interim type-N records. The current workaround we have is to monitor /proc/PID/stat for specific processes but that’s a horrible kludge since it doesn’t integrate well with the real process accounting.

It needn’t be often (we’d be happy with 24 hours) but there may be a performance impact since the work that’s currently done only on process exit() will have to be done occasionally on process context switch. Linus et al might not like that idea since it may be a high-impact area of the code (even checking if there’s been 24 hours since the last write may be too slow for them).

Still, thanks for all the answers so far, I’ll see how I go. Give me a couple of days and I’ll accept the best answer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T01:52:08+00:00Added an answer on May 11, 2026 at 1:52 am

    Before anything else: concentrating about the performance bug report, and getting it right (with repeatable benchmarks) will at least help you to get people to bother with the problem. Also submit the patch after testing it, but beware that your great patch might use the wrong approach, and that they might write a better one. Or that simply it may be great, but might need fixes to get accepted, that even happens with uber-guys. And don’t think to email somebody privately, but refer to LKML or to the appropriate subsystem ML.

    I’d suggest you to read through all other answers, and all applicable material, before contacting kernel developers; and read the bibliography of SubmittingPatches as well. They might be harsh if you do it wrong. The kernelnewbies IRC chat is a good place for you to start, because they are for sure welcoming, even if sometimes the environment can be too newbie-like (not sure, I’ve not been there so much).

    It may be that I’m being overly optimistic in thinking someone the kernel world’s never heard of can contribute, but I’d be interested to find out.

    It’s not overly optimistic; not in itself at least. Abstracting from you (since I don’t know your skills), what is more unlikely is that your patch will be accepted without modifications, or that it’s written according to the right skills. But actually, if your patch is addressed to a smaller community, it may be much easier.

    From somebody with some experience (i.e. me), before considering the patch submission, describe the problem and why it affects other applications. Considerations like ‘this improves our performance’, especially if you qualify (vaguely) as a vendor, won’t have appeal on kernel developers.

    Especially, omit such statements:

    rendering our current implementation workable, but less than optimal.

    because this will buy you a ‘fix your code’ recommendation immediately by most readers.

    If performance of an existing application (not written by you) is impacted, that’s different. For instance, once Linus promptly paid attention to fixing in the kernel performance for screwed up code, because that code was part of make, even if he was proud of the code he had written and of the fact that he didn’t need to do that exact fix. I.e., you need an application which everybody cares about, or a solution without disadvantages. So, stuff like:

    behavior from an another (very commonly used) application

    is good, as long as your usage of that application is not deemed unreasonable.

    Finally, if you refer to source code, they’ll likely ask to see the interested section – think to license issues with your code, if they exist, and solve any of them beforehand if you want to answer them quickly.

    Btw, this is a partial account of my experience there: https://www.ohloh.net/accounts/Blaisorblade

    If you want, you can contact me to help you directly with a proposed mail, and CC me on the discussion. I’m quite busy, but I might find some more time :-).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 115k
  • Answers 115k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer When I tested this, it did call an update on… May 11, 2026 at 10:28 pm
  • Editorial Team
    Editorial Team added an answer use printf("%.6g", doubleValue) or printf("%.6Lg", doubleValue) Note that leaving off… May 11, 2026 at 10:28 pm
  • Editorial Team
    Editorial Team added an answer I haven't used the GData calendar API from .NET, but… May 11, 2026 at 10:28 pm

Related Questions

We have some software we use internally which is released via ClickOnce from VS
Is it possible in Eclipse to have some kind of packages (sets of projects)
I primarily spend my time working on automated tests of win32 and .NET applications,
I've been working on this for a few days now, and I've found several

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.