[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-devel-list
Subject:    Re: Enable EarlyOOM on Fedora KDE - Fedora 33 Self-Contained Change proposal
From:       "Alexey A." <hakavlad () gmail ! com>
Date:       2020-09-14 12:18:58
Message-ID: CADrZ5ZWvE5udS8+NLFbrTXUuZ-FNN4Fqd+jBmw91_FC5zPyedQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


> memory is executable code, but it behaves like
> other process memory such as the heap or the stack

Seems like it is not a problem: with GNOME effect is the same as with other
environments.

=D0=BF=D0=BD, 14 =D1=81=D0=B5=D0=BD=D1=82. 2020 =D0=B3. =D0=B2 21:14, Benja=
min Berg <bberg@redhat.com>:

> On Mon, 2020-09-14 at 20:35 +0900, Alexey A. wrote:
> >
> > > may be different for GNOME with JIT'ed code
> > > potentially getting swapped out
> >
> > How to recognize JIT'ed code? Do you mean that we shouldn't lock it?
>
> I don't think you can protect it using your tool, as it lives in
> anonymous mappings. If it is reclaimed it will be written to swap.
>
> Said differently, that memory is executable code, but it behaves like
> other process memory such as the heap or the stack.
>
> Benjamin
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-leave@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o=
rg
>

[Attachment #5 (text/html)]

<div dir="ltr"><div>&gt; memory is executable code, but it behaves like<br>
&gt; other process memory such as the heap or the \
stack</div><div><br></div><div>Seems like it is not a problem: with GNOME effect is \
the same as with other environments. <br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">пн, 14 сент. 2020 г. в \
21:14, Benjamin Berg &lt;<a \
href="mailto:bberg@redhat.com">bberg@redhat.com</a>&gt;:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">On Mon, 2020-09-14 at 20:35 +0900, Alexey A. \
wrote:<br> &gt; <br>
&gt; &gt; may be different for GNOME with JIT&#39;ed code<br>
&gt; &gt; potentially getting swapped out<br>
&gt; <br>
&gt; How to recognize JIT&#39;ed code? Do you mean that we shouldn&#39;t lock it?<br>
<br>
I don&#39;t think you can protect it using your tool, as it lives in<br>
anonymous mappings. If it is reclaimed it will be written to swap.<br>
<br>
Said differently, that memory is executable code, but it behaves like<br>
other process memory such as the heap or the stack.<br>
<br>
Benjamin<br>
_______________________________________________<br>
devel mailing list -- <a href="mailto:devel@lists.fedoraproject.org" \
target="_blank">devel@lists.fedoraproject.org</a><br> To unsubscribe send an email to \
<a href="mailto:devel-leave@lists.fedoraproject.org" \
target="_blank">devel-leave@lists.fedoraproject.org</a><br> Fedora Code of Conduct: \
<a href="https://docs.fedoraproject.org/en-US/project/code-of-conduct/" \
rel="noreferrer" target="_blank">https://docs.fedoraproject.org/en-US/project/code-of-conduct/</a><br>
 List Guidelines: <a href="https://fedoraproject.org/wiki/Mailing_list_guidelines" \
rel="noreferrer" target="_blank">https://fedoraproject.org/wiki/Mailing_list_guidelines</a><br>
 List Archives: <a href="https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org" \
rel="noreferrer" target="_blank">https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org</a><br>
 </blockquote></div>


[Attachment #6 (text/plain)]

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic