Article View: alt.privacy.anon-server
Article #296923Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign
From: Jan-Erik Soderholm
Date: Sun, 07 Jan 2018 00:28
Date: Sun, 07 Jan 2018 00:28
41 lines
4018 bytes
4018 bytes
Den 2018-01-06 kl. 23:34, skrev Tim Streater: > In article <p2rh0g$876$1@Iltempo.Update.UU.SE>, Johnny Billquist > <bqt@softjar.se> wrote: > >> On 2018-01-06 19:23, Tim Streater wrote: >>> In article <p2qtjk$ul0$1@Iltempo.Update.UU.SE>, Johnny Billquist >>> <bqt@softjar.se> wrote: >>> >>>> And then they figured out a clever way of mining the contents of the >>>> cache. >>>> >>>> One could argue that the cache should be invalidated in such a >>>> scenario, but that is not happening either. >>> >>> Never mind invalidating it. WTF is going on if a non-priv process has >>> the right to do anything at all to the cache? Non-priv processes >>> shouldn't even be aware that there *is* a cache, never mind having the >>> right to execute instructions *about* the cache. >> >> Normally, that is true. But clever people can do a lot around this. >> When I was doing my CS major, we had a course on advanced computer >> architectures, in where we learned how to write a very simple program >> that told us everything about cache size, associativeness, line size, TLB >> size, TLB associativeness, and so on... >> All you need to do is understand how the computer is affected by these >> things, and then write programs that detect the effects. >> >> In short, you write small loops that exercise the cache in different >> ways, and time the whole thing. You don't even need any high precision >> timers for it. All user level, and all very simple. > > Does that involve instructions that operate on the cache. Such as > "clear cache"? > You just read some unrelated (to the actual tests) data, so that the test that you are running are 100% non-chached. If that is what your tests are about. And anyway, you can never "clear" any memory, being it the cache or any other memory. Each byte will always have a value between x'00' and x'FF'.
Technical Details
Message-ID:
<p2rpk1$aul$4@news.albasani.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mailReferences:
<7db9888b131268038007398919a05b86@dizum.com> <jmhs4d1khine5frfj09mahpksmclbsa88q@4ax.com> <p2m3kt$vnk$1@dont-email.me> <040120182204575400%timstreater@greenbee.net> <p2m8t9$efm$4@news.albasani.net> <p2o19j$e88$1@dont-email.me> <t7adndjRJMgAF9LHnZ2dnUU7-QnNnZ2d@giganews.com> <p2op29$v81$1@dont-email.me> <puydnboIF7Npd83HnZ2dnUU7-XnNnZ2d@giganews.com> <p2qs6u$aul$1@news.albasani.net> <w9qdnQWsSamFaM3HnZ2dnUU7-d2dnZ2d@giganews.com> <p2qtjk$ul0$1@Iltempo.Update.UU.SE> <060120181823336560%timstreater@greenbee.net> <p2rh0g$876$1@Iltempo.Update.UU.SE> <060120182234098739%timstreater@greenbee.net>Show Full Headers
Complete Article Headers
Message-ID: <p2rpk1$aul$4@news.albasani.net> Subject: Re: Intel junk...Kernel-memory-leaking Intel processor design flaw forces Linux, Windows redesign Date: Sun, 7 Jan 2018 01:28:45 +0100 From: Jan-Erik Soderholm <jan-erik.soderholm@telia.com> References: <7db9888b131268038007398919a05b86@dizum.com> <jmhs4d1khine5frfj09mahpksmclbsa88q@4ax.com> <p2m3kt$vnk$1@dont-email.me> <040120182204575400%timstreater@greenbee.net> <p2m8t9$efm$4@news.albasani.net> <p2o19j$e88$1@dont-email.me> <t7adndjRJMgAF9LHnZ2dnUU7-QnNnZ2d@giganews.com> <p2op29$v81$1@dont-email.me> <puydnboIF7Npd83HnZ2dnUU7-XnNnZ2d@giganews.com> <p2qs6u$aul$1@news.albasani.net> <w9qdnQWsSamFaM3HnZ2dnUU7-d2dnZ2d@giganews.com> <p2qtjk$ul0$1@Iltempo.Update.UU.SE> <060120181823336560%timstreater@greenbee.net> <p2rh0g$876$1@Iltempo.Update.UU.SE> <060120182234098739%timstreater@greenbee.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mail Newsgroups: alt.privacy.anon-server,alt.comp.os.windows-10,comp.os.linux.advocacy,comp.sys.mac.system,comp.os.vms Organization: albasani.net Lines: 43 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net +06B/FSdL7G1lBX1J9LEXMoE5URJnKXN5mFUmvWSBJU6bKhXnpt0wSmJ48pw7gtIIzGb6+PrBTkYK0w2oSgKKQ== NNTP-Posting-Date: Sun, 7 Jan 2018 00:28:49 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="6Z+Lwrb/4Vlxtnhre/+CDK/8DW9nwBbSDmOgvVGc9J8q3EgcEFnvuuo9G86FipRdfKXWxGu7acQiMiVm+8HORFGMI1A2PgydkqiJrqf4ufKXwrhp4imUgoC70mQIDwny"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 In-Reply-To: <060120182234098739%timstreater@greenbee.net> Content-Language: sv Cancel-Lock: sha1:FE/gV81QooaBKMzTBzt4TNHG2pY= X-Received-Body-CRC: 2387347387