[systemd-devel] Is it possible to set a default for MemoryMax?

Lennart Poettering lennart at poettering.net
Tue Jun 25 08:18:47 UTC 2019


On Mo, 24.06.19 21:41, McKay, Sean (sean.mckay at hpe.com) wrote:

> Thanks for the pointer, Lennart!
>
> I've done some initial review of the commit you pointed me to, and
> it seems like it should be pretty straightforward to use that
> understanding to implement the other functions. Might take a bit
> depending on my local management's perspective on the priority of
> getting this done, but I'll put together a PR as soon as I have a
> chance.
>
> In the meantime, can anyone tell me if there's any semblance of a
> 'getting started' page for systemd development? The main code
> changes should be easy enough, but I see that there are a number of
> tests included with the particular commit I was pointed to in
> addition to the code change itself. I'd like to make sure that I
> know what sort of tests are expected in a commit and how to run them
> (and any other things I might need to do to ensure things are in
> order before submitting the PR).

https://systemd.io/HACKING.html

(Btw, in addition to DefaultMemoryMin= there's now
DefaultMemoryLow=. It has been added in a follow-up patch.)

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list