Search logs:

channel logs for 2004 - 2010 are archived at http://tunes.org/~nef/logs/old/ ·· can't be searched

#osdev2 = #osdev @ Libera from 23may2021 to present

#osdev @ OPN/FreeNode from 3apr2001 to 23may2021

all other channels are on OPN/FreeNode from 2004 to present


http://bespin.org/~qz/search/?view=1&c=osdev&y=18&m=5&d=14

Monday, 14 May 2018

00:00:00 --- log: started osdev/18.05.14
00:03:59 --- join: Pseudonym73 (~Pseudonym@e-nat-unimelb-128-250-0-54.uniaccess.unimelb.edu.au) joined #osdev
00:04:23 --- join: nj0rd (~nj0rd@i577BC0F3.versanet.de) joined #osdev
00:17:18 --- quit: Pseudonym73 (Remote host closed the connection)
00:17:51 --- join: Pseudonym73 (~Pseudonym@e-nat-unimelb-128-250-0-54.uniaccess.unimelb.edu.au) joined #osdev
00:22:38 --- quit: Pseudonym73 (Ping timeout: 256 seconds)
00:23:08 --- quit: NaNkeen (Ping timeout: 250 seconds)
00:23:21 --- quit: Humble (Ping timeout: 246 seconds)
00:24:50 --- join: ALowther (~alowther@68.200.236.134) joined #osdev
00:29:00 --- quit: jjuran (Read error: Connection reset by peer)
00:29:22 --- quit: ALowther (Ping timeout: 255 seconds)
00:32:14 --- quit: nj0rd (Quit: WeeChat 2.1)
00:33:30 --- join: jjuran (~jjuran@c-73-132-80-121.hsd1.md.comcast.net) joined #osdev
00:33:55 --- quit: BreakingFree (Read error: Connection reset by peer)
00:35:15 --- join: Humble (~hchiramm@2405:204:d105:43f3:b170:2922:7407:95c6) joined #osdev
00:36:08 --- quit: BronzeBeard (Ping timeout: 265 seconds)
00:36:45 --- quit: CrystalMath (Quit: Support Free Software - https://www.fsf.org/)
00:40:32 --- join: nortega (~nortega@gateway/tor-sasl/deathsbreed) joined #osdev
00:47:04 --- join: BreakingFree (~libre@kite.riseup.net) joined #osdev
00:58:28 --- join: sdk93 (uid290141@gateway/web/irccloud.com/x-amqtmapeaoclmqkg) joined #osdev
01:00:47 --- quit: Oxyd76 (Read error: Connection reset by peer)
01:04:08 --- join: _ether_ (~ether@host.126.101.23.62.rev.coltfrance.com) joined #osdev
01:09:03 --- join: fddsafsd (~sdfgsdfg@176.33.236.80) joined #osdev
01:12:16 --- quit: mniip (Quit: This page is intentionally left blank.)
01:12:31 --- join: mniip (mniip@haskell/developer/mniip) joined #osdev
01:13:21 --- quit: thinkpol (Ping timeout: 265 seconds)
01:15:58 --- join: ljc (~ljc@unaffiliated/ljc) joined #osdev
01:16:13 --- quit: nortega (Quit: Vivu lante, vivu feliĉe!)
01:18:25 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
01:23:18 --- join: t3hn3rd (~Logic_Bom@cpc91224-cmbg18-2-0-cust219.5-4.cable.virginm.net) joined #osdev
01:26:11 --- quit: mniip (Changing host)
01:26:11 --- join: mniip (mniip@freenode/staff/mniip) joined #osdev
01:27:48 --- join: NaNkeen (~nankeen@122.0.31.67) joined #osdev
01:28:22 --- quit: oaken-source (Ping timeout: 268 seconds)
01:35:04 --- quit: Kimundi__ (Ping timeout: 255 seconds)
01:41:43 --- quit: Goplat (Remote host closed the connection)
01:44:37 --- join: nj0rd (~nj0rd@i577BC0F3.versanet.de) joined #osdev
01:48:47 --- quit: hmmmm (Remote host closed the connection)
01:49:43 --- quit: zeus1 (Ping timeout: 240 seconds)
01:51:03 --- quit: Philpax (Ping timeout: 248 seconds)
02:00:40 --- quit: Oxyd76 (Read error: Connection reset by peer)
02:01:41 --- quit: NaNkeen (Ping timeout: 265 seconds)
02:02:36 --- join: NaNkeen (~nankeen@203.188.234.181) joined #osdev
02:03:48 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
02:03:51 --- quit: shirk (Ping timeout: 248 seconds)
02:04:04 --- join: shirk (~shirk@bitspin.org) joined #osdev
02:04:23 --- quit: byte512 (Ping timeout: 248 seconds)
02:04:51 --- quit: Humble (Ping timeout: 246 seconds)
02:07:55 --- quit: NaNkeen (Ping timeout: 264 seconds)
02:09:30 --- join: byte512 (~4096bits@90-230-246-13-no187.tbcn.telia.com) joined #osdev
02:13:40 --- join: oaken-source (~oaken-sou@141.89.226.146) joined #osdev
02:15:12 --- join: Kimundi__ (~Kimundi@dhl1116.cs.uni-dortmund.de) joined #osdev
02:18:02 --- join: Humble (~hchiramm@2405:204:d105:43f3:f6b0:dcb8:e6d5:5506) joined #osdev
02:24:13 --- join: sixand (~Thunderbi@113.195.133.96) joined #osdev
02:24:28 --- quit: ljc (Ping timeout: 256 seconds)
02:42:41 --- quit: ACE_Recliner (Read error: Connection reset by peer)
02:48:19 --- quit: CheckDavid (Quit: Connection closed for inactivity)
02:51:02 --- quit: S_Gautam (Remote host closed the connection)
02:54:20 --- join: Love4Boobies (~L4B@unaffiliated/l4b) joined #osdev
03:02:13 --- join: ljc (~ljc@unaffiliated/ljc) joined #osdev
03:04:04 --- join: ljc_ (~ljc@unaffiliated/ljc) joined #osdev
03:04:05 --- join: NaNkeen (~nankeen@118.100.11.58) joined #osdev
03:06:53 --- join: kimundi (~Kimundi@dynip-129-217-120-244.wifi.tu-dortmund.de) joined #osdev
03:06:57 --- quit: ljc (Ping timeout: 240 seconds)
03:07:01 --- quit: Kimundi__ (Ping timeout: 260 seconds)
03:09:07 --- quit: sdk93 (Quit: Connection closed for inactivity)
03:18:09 <sahibatko> Hi, I am looking for someone who managed to enumerate hardware devices on Hyper-V, gen 2 (UEFI). I cannot seem to find the MCFG table to start with, so I wonder what path to go...
03:32:28 --- join: GynDream (~gynvael@80-219-208-230.dclient.hispeed.ch) joined #osdev
03:34:26 --- quit: atk (Ping timeout: 260 seconds)
03:34:26 --- quit: Oxyd76 (Read error: Connection reset by peer)
03:35:36 --- quit: Gynvael (Ping timeout: 260 seconds)
03:36:12 --- join: atk (~Arch-TK@ircpuzzles/staff/Arch-TK) joined #osdev
03:39:08 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
03:40:17 --- quit: Oxyd76 (Read error: Connection reset by peer)
03:44:26 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
03:49:01 --- quit: Oxyd76 (Read error: Connection reset by peer)
03:51:06 --- join: k4m1 (~k4m1@167.99.70.96) joined #osdev
03:56:34 --- quit: norvic (Remote host closed the connection)
04:05:08 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
04:07:48 --- quit: oaken-source (Ping timeout: 276 seconds)
04:08:08 --- quit: Oxyd76 (Read error: Connection reset by peer)
04:10:28 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
04:11:14 --- quit: Oxyd76 (Read error: Connection reset by peer)
04:21:06 --- quit: immibis (Ping timeout: 260 seconds)
04:30:26 --- join: spare (~user@unaffiliated/spareproject) joined #osdev
04:31:24 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
04:33:09 --- quit: Oxyd76 (Read error: Connection reset by peer)
04:34:03 --- quit: MaryJaneInChain (Remote host closed the connection)
04:36:09 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
04:36:25 --- nick: Guest99251 -> augustl
04:37:57 --- quit: NaNkeen (Ping timeout: 240 seconds)
04:41:42 --- join: _sfiguser (~sfigguser@95.141.40.109) joined #osdev
04:41:42 --- quit: Oxyd76 (Read error: Connection reset by peer)
04:45:01 --- quit: ljc_ (Ping timeout: 260 seconds)
04:46:28 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
04:47:43 --- quit: Oxyd76 (Read error: Connection reset by peer)
04:51:31 <Vercas> I'm at work and I've got no tasks assigned to me. :|
04:51:40 * Vercas is eager to tackle new challenges and all that jazz.
04:51:48 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
04:51:48 --- quit: Oxyd76 (Read error: Connection reset by peer)
04:52:13 <Vercas> Also I unfucked interrupts in my kernel.
04:52:38 --- quit: BreakingFree (Read error: Connection reset by peer)
04:53:45 <Vercas> My issue continuous recursive page faults. The #PF handler has an IST so it never overflowed the stack into a #DF or triple fault.
04:53:49 <Vercas> issue was*
04:54:56 --- quit: kimundi (Ping timeout: 260 seconds)
04:55:13 --- join: kimundi (~Kimundi@dynip-129-217-120-244.wifi.tu-dortmund.de) joined #osdev
04:57:08 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
05:00:22 --- join: ljc (~ljc@unaffiliated/ljc) joined #osdev
05:03:27 --- join: bauen1 (~bauen1@gate.josefstal.de) joined #osdev
05:07:52 <izabera> now fuck them again
05:09:46 --- join: awang_ (~awang@cpe-98-31-27-190.columbus.res.rr.com) joined #osdev
05:12:24 <Vercas> izabera: That's the plan!
05:16:42 <Vercas> Came up with an interrupt-handling system that I can use in both kernel and userland to services devices with near-minimal latency while keeping stack usage and lock contention low.
05:18:18 <Vercas> service*
05:18:23 <Vercas> Butterfingers.
05:19:19 --- quit: olsner (Ping timeout: 240 seconds)
05:25:15 --- join: olsner (~salparot@c83-253-165-33.bredband.comhem.se) joined #osdev
05:28:13 --- join: freakazoid0223 (~IceChat9@pool-108-52-244-197.phlapa.fios.verizon.net) joined #osdev
05:28:38 <klange> rudimentary copy/paste in my terminal~ https://i.imgur.com/YOkDk9o.png
05:29:12 <klange> no clipboard in the windowing system yet, so this is local to the terminal, but that'll change soon enough
05:31:08 <Vercas> klange: Noice.
05:38:17 --- quit: ljc (Quit: ayy)
05:40:03 --- join: vmlinuz (~vmlinuz@unaffiliated/vmlinuz) joined #osdev
05:40:03 --- quit: Oxyd76 (Read error: Connection reset by peer)
05:45:43 --- join: nortega (~nortega@gateway/tor-sasl/deathsbreed) joined #osdev
05:51:07 --- quit: awang_ (Ping timeout: 255 seconds)
05:52:45 --- join: daniele_athome (~daniele_a@5.170.129.137) joined #osdev
05:58:31 <klange> copy from ps https://i.imgur.com/fK33DOI.png
05:58:38 <klange> paste into bim https://i.imgur.com/tUg1CoV.png
06:01:19 --- join: awang_ (~awang@rrcs-24-106-163-46.central.biz.rr.com) joined #osdev
06:02:36 --- quit: X-Scale (Ping timeout: 260 seconds)
06:03:22 <klange> need to fix pasting unicode into bim...
06:03:43 --- join: [X-Scale] (~ARM@83.223.226.42) joined #osdev
06:16:01 --- join: absurdistani (~bradford@50-200-254-170-static.hfc.comcastbusiness.net) joined #osdev
06:16:21 --- nick: [X-Scale] -> X-Scale
06:19:04 --- join: light2yellow (~l2y@185.220.70.152) joined #osdev
06:19:59 --- join: Tazmain (~Tazmain@196.35.34.5) joined #osdev
06:23:02 --- join: sdk93 (uid290141@gateway/web/irccloud.com/x-ohnnysxfapgwohvs) joined #osdev
06:33:04 --- join: cruxeternus (~cruxetern@secspeed.com) joined #osdev
06:34:38 <klange> my editor is so sloooow
06:34:47 <klange> doesn't help that it, uh, redraws everything every time you insert a character...
06:35:12 --- join: andrei-n (~andrei@51.214-65-87.adsl-dyn.isp.belgacom.be) joined #osdev
06:36:48 <izabera> maybe it would be fast if you had job control
06:37:01 <klange> it would not be any faster with job control, go away
06:37:12 <klange> at least present real reasons to implement job control!
06:37:40 <izabera> you could pause other programs running on your machine and dedicate more resources to your terminal
06:38:03 --- join: baschdel (~baschdel@2a01:5c0:10:3d11:bca2:7797:3876:4668) joined #osdev
06:38:14 <klange> that makes literally zero sense
06:39:35 <t3hn3rd> Wow, this Job control thing sounds great, tell me more!
06:40:59 --- nick: t3hn3rd -> t3hn3rd_afk
06:42:57 <aalm> izabera, ... it's not invented there, you know...
06:43:36 <t3hn3rd_afk> lmao
06:43:45 --- nick: t3hn3rd_afk -> t3hn3rd
06:56:10 --- join: lachlan_s (uid265665@gateway/web/irccloud.com/x-akmxqqplyrdljqyz) joined #osdev
07:09:02 --- join: Shikadi (~Shikadi@cpe-98-10-34-205.rochester.res.rr.com) joined #osdev
07:09:19 --- quit: awang_ (Ping timeout: 240 seconds)
07:09:19 --- quit: kimundi (Ping timeout: 240 seconds)
07:09:25 --- join: Kimundi_ (~Kimundi@dhl1116.cs.uni-dortmund.de) joined #osdev
07:12:11 --- join: CrystalMath (~coderain@reactos/developer/theflash) joined #osdev
07:12:37 --- join: awang_ (~awang@rrcs-24-106-163-46.central.biz.rr.com) joined #osdev
07:15:53 --- quit: grouse (Quit: Leaving)
07:16:58 --- join: Plazma (~Plazma@freenode/staff-emeritus/plazma) joined #osdev
07:17:06 --- quit: spare (Quit: leaving)
07:20:38 --- join: oaken-source (~oaken-sou@p5DDB6424.dip0.t-ipconnect.de) joined #osdev
07:31:17 --- quit: xenos1984 (Quit: Leaving.)
07:34:53 --- join: EvanCarroll (~ecarroll@172.58.99.27) joined #osdev
07:35:15 --- join: hmmmm (~sdfgsf@pool-72-79-167-28.sctnpa.east.verizon.net) joined #osdev
07:37:00 --- join: jrheaton (~jrheaton@162-235-12-210.lightspeed.bcvloh.sbcglobal.net) joined #osdev
07:47:25 --- join: sh3iny (~sh3iny@2601:141:201:4328:a53e:395c:5567:4a2e) joined #osdev
07:52:04 --- join: promach__ (~promach@bb219-74-174-136.singnet.com.sg) joined #osdev
07:53:04 --- quit: aalm (Ping timeout: 255 seconds)
07:58:28 --- quit: baschdel (Ping timeout: 255 seconds)
07:58:39 --- nick: promach__ -> promach2
08:00:20 --- join: xenos1984 (~xenos1984@22-164-191-90.dyn.estpak.ee) joined #osdev
08:02:22 --- quit: elevated (Quit: bye)
08:22:40 --- join: pounce (~pounce@c-24-11-27-195.hsd1.ut.comcast.net) joined #osdev
08:23:40 --- quit: daniele_athome (Ping timeout: 255 seconds)
08:25:11 --- join: zeus1 (~zeus@197.239.5.46) joined #osdev
08:30:13 --- join: elevated (~elevated@unaffiliated/elevated) joined #osdev
08:30:56 --- join: daniele_athome (~daniele_a@5.170.131.120) joined #osdev
08:39:01 --- join: BronzeBeard (~BronzeBea@172-221-232-035.dhcp.chtrptr.net) joined #osdev
08:40:07 --- quit: EvanCarroll (Remote host closed the connection)
08:40:34 --- quit: vmlinuz (Ping timeout: 260 seconds)
08:40:42 --- join: EvanCarroll (~ecarroll@172.58.99.27) joined #osdev
08:43:15 --- quit: banisterfiend (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:44:47 --- join: banisterfiend (~banister@ruby/staff/banisterfiend) joined #osdev
08:45:00 --- quit: elderK (Quit: WeeChat 1.9)
08:47:47 --- join: divine (~divine@2001:470:8247:2::1000) joined #osdev
08:48:29 --- join: elderK (~k@122-61-112-9-adsl.bb.spark.co.nz) joined #osdev
08:48:29 --- quit: elderK (Changing host)
08:48:29 --- join: elderK (~k@pdpc/supporter/active/elderk) joined #osdev
08:52:35 --- join: vmlinuz (~vmlinuz@187.101.159.64) joined #osdev
08:52:35 --- quit: vmlinuz (Changing host)
08:52:35 --- join: vmlinuz (~vmlinuz@unaffiliated/vmlinuz) joined #osdev
08:57:06 --- join: Asu (~sdelang@121.14.136.77.rev.sfr.net) joined #osdev
09:00:15 --- quit: banisterfiend (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:05:48 --- quit: Kimundi_ (Ping timeout: 256 seconds)
09:07:52 --- quit: promach2 (Remote host closed the connection)
09:10:01 --- quit: jrheaton (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:10:05 --- quit: Tazmain (Quit: Leaving)
09:11:19 --- quit: dengke (Ping timeout: 240 seconds)
09:11:47 --- join: dengke (~dengke@106.120.101.38) joined #osdev
09:15:32 --- join: banisterfiend (~banister@ruby/staff/banisterfiend) joined #osdev
09:22:43 --- quit: rafaeldelucena (Ping timeout: 240 seconds)
09:23:56 --- quit: sh3iny (Ping timeout: 265 seconds)
09:25:21 --- quit: zeus1 (Read error: Connection reset by peer)
09:26:28 --- join: unixpickle (~alex@c-24-5-86-101.hsd1.ca.comcast.net) joined #osdev
09:31:29 --- join: AverageJ0e (~joe@ip98-167-200-207.ph.ph.cox.net) joined #osdev
09:32:15 --- quit: lachlan_s (Quit: Connection closed for inactivity)
09:32:22 --- join: Kimundi_ (~Kimundi@i577A9912.versanet.de) joined #osdev
09:32:26 --- quit: unixpickle (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:35:01 --- join: rafaeldelucena (~rafaeldel@2804:14d:ba83:2709:e82b:b941:474e:b856) joined #osdev
09:35:19 --- quit: daniele_athome (Ping timeout: 240 seconds)
09:39:16 --- join: hppavilion[1] (~dosgmowdo@74-114-87-80.dynamic.asdk12.org) joined #osdev
09:40:25 --- join: KernelBloomer (~SASLExter@gateway/tor-sasl/kernelbloomer) joined #osdev
09:41:06 --- join: zeus1 (~zeus@197.239.37.40) joined #osdev
09:41:18 --- join: S_Gautam (3bb6f6ec@gateway/web/cgi-irc/kiwiirc.com/ip.59.182.246.236) joined #osdev
09:44:47 --- quit: S_Gautam (Changing host)
09:44:47 --- join: S_Gautam (3bb6f6ec@unaffiliated/gautams) joined #osdev
09:44:47 --- quit: S_Gautam (Changing host)
09:44:47 --- join: S_Gautam (3bb6f6ec@gateway/web/cgi-irc/kiwiirc.com/ip.59.182.246.236) joined #osdev
09:44:49 --- quit: Arcaelyx (Quit: Textual IRC Client: www.textualapp.com)
09:47:27 --- join: dbittman_ (~dbittman@2601:647:ca00:1651:b26e:bfff:fe31:5ba2) joined #osdev
09:49:32 --- quit: banisterfiend (Remote host closed the connection)
09:49:49 --- quit: fddsafsd (Quit: fddsafsd)
09:50:40 --- quit: allight (Remote host closed the connection)
09:51:34 --- join: millerti (~millerti@cpe-66-24-91-119.stny.res.rr.com) joined #osdev
09:52:19 --- quit: dbittman_ (Ping timeout: 260 seconds)
09:59:00 * geist wakes up, is pickle rick
10:02:56 --- quit: hppavilion[1] (Ping timeout: 260 seconds)
10:03:21 --- join: allight (allight@nat/google/x-xvaotnvinvmvcarg) joined #osdev
10:04:29 --- join: cantbetouched (~SASLExter@gateway/tor-sasl/kernelbloomer) joined #osdev
10:07:59 --- quit: KernelBloomer (Ping timeout: 255 seconds)
10:09:28 --- quit: cantbetouched (Remote host closed the connection)
10:09:28 --- quit: nortega (Write error: Broken pipe)
10:10:27 --- join: nortega (~nortega@gateway/tor-sasl/deathsbreed) joined #osdev
10:10:57 --- join: hppavilion[1] (~dosgmowdo@74-114-87-80.dynamic.asdk12.org) joined #osdev
10:13:10 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
10:15:33 --- quit: Oxyd76 (Read error: Connection reset by peer)
10:24:01 --- join: aalm (~aalm@37-219-119-194.nat.bb.dnainternet.fi) joined #osdev
10:25:06 --- quit: zeus1 (Ping timeout: 260 seconds)
10:25:40 --- join: zeus1 (~zeus@197.239.37.40) joined #osdev
10:25:57 --- quit: eremitah (Ping timeout: 240 seconds)
10:26:11 <absurdistani> IM PICKLE RICK!!!
10:27:03 <Ameisen> doug16k - I have float24... partially working
10:27:08 <Ameisen> doesn't generate the best code though
10:27:42 <geist> absurdistani: wait no i'm pickle rick
10:27:53 <Ameisen> seems to be handling truncation by generating a lot of ror/lsl instructions
10:36:04 --- quit: EvanCarroll (Remote host closed the connection)
10:39:02 --- join: islandsparky_ (1816e74b@gateway/web/freenode/ip.24.22.231.75) joined #osdev
10:43:43 --- quit: elevated (Quit: bye)
10:46:27 --- quit: elderK (Ping timeout: 268 seconds)
10:47:48 --- quit: zeus1 (Ping timeout: 256 seconds)
10:48:08 --- join: elevated (~elevated@unaffiliated/elevated) joined #osdev
10:54:13 --- join: eremitah (~int@unaffiliated/eremitah) joined #osdev
10:55:27 --- quit: bauen1 (Ping timeout: 240 seconds)
10:55:54 --- quit: hppavilion[1] (Ping timeout: 260 seconds)
10:58:47 --- quit: eremitah (Ping timeout: 248 seconds)
11:00:43 --- join: jrheaton (~jrheaton@162-235-12-210.lightspeed.bcvloh.sbcglobal.net) joined #osdev
11:01:11 --- join: m3nt4L (~asvos@2a02:587:a023:f000:3285:a9ff:fe8f:665d) joined #osdev
11:01:16 --- quit: sixand (Ping timeout: 260 seconds)
11:01:34 --- quit: xiphias (Remote host closed the connection)
11:02:29 --- join: hppavilion[1] (~dosgmowdo@74-114-87-80.dynamic.asdk12.org) joined #osdev
11:02:41 --- join: bauen1 (~bauen1@gate.josefstal.de) joined #osdev
11:07:13 --- join: eremitah (~int@unaffiliated/eremitah) joined #osdev
11:08:54 --- quit: light2yellow (Quit: light2yellow)
11:11:46 --- quit: S_Gautam (Ping timeout: 260 seconds)
11:12:07 --- quit: eremitah (Ping timeout: 248 seconds)
11:17:32 --- join: eremitah (~int@unaffiliated/eremitah) joined #osdev
11:22:55 --- quit: eremitah (Ping timeout: 264 seconds)
11:24:34 --- join: eremitah (~int@unaffiliated/eremitah) joined #osdev
11:26:47 --- join: JonRob (jon@gateway/vpn/privateinternetaccess/jonrob) joined #osdev
11:29:16 --- quit: eremitah (Ping timeout: 260 seconds)
11:29:59 --- join: eremitah (~int@unaffiliated/eremitah) joined #osdev
11:31:25 --- join: zeus1 (~zeus@197.239.37.40) joined #osdev
11:34:31 --- quit: eremitah (Ping timeout: 248 seconds)
11:34:54 --- join: MarchHare (~Starwulf@mo-184-5-204-232.dhcp.embarqhsd.net) joined #osdev
11:41:33 --- join: eremitah (~int@unaffiliated/eremitah) joined #osdev
11:45:13 --- join: lachlan_s (uid265665@gateway/web/irccloud.com/x-czreahuhtwsswfnj) joined #osdev
11:45:31 <lachlan_s> Great, it crashes sometimes.
11:49:51 <doug16k> Ameisen, nice. yeah, without a double-word shift (like x86 shld/shrd), barrel shifting a multi-word value can end up being compiled as a single-bit-rotate through carry loop, particularly when the shift distance is dynamic
11:50:10 <lachlan_s> But only sometimes
11:50:55 <doug16k> Ameisen, you might want to special case the common distances and see if the compiler can do better with known shift distance
11:51:08 --- quit: eremitah (Ping timeout: 264 seconds)
11:51:47 <doug16k> perhaps a template that takes the distance as a compile-time-constant int template parameter
11:52:33 --- quit: zeus1 (Ping timeout: 276 seconds)
11:52:48 --- join: eremitah (~int@unaffiliated/eremitah) joined #osdev
11:52:49 --- quit: hppavilion[1] (Ping timeout: 240 seconds)
11:54:31 <doug16k> the point of the template is to avoid it inlining it too much, all shifts of that distance can share it
11:55:20 --- join: eremitah_ (~int@unaffiliated/eremitah) joined #osdev
11:57:27 --- quit: eremitah (Ping timeout: 248 seconds)
11:57:27 --- nick: eremitah_ -> eremitah
11:59:29 <lachlan_s> Whoops, figured it out
11:59:40 <lachlan_s> geist: Does fuchsia have a global list of processes?
12:00:34 --- quit: vmlinuz (Ping timeout: 255 seconds)
12:01:02 --- quit: Burgundy (Remote host closed the connection)
12:01:47 --- join: vmlinuz (~vmlinuz@unaffiliated/vmlinuz) joined #osdev
12:03:18 --- join: Tazmain (~Tazmain@unaffiliated/tazmain) joined #osdev
12:09:55 --- quit: m712 (Quit: bye-nyan!)
12:11:39 --- quit: eremitah (Ping timeout: 265 seconds)
12:11:46 --- join: eremitah_ (~int@unaffiliated/eremitah) joined #osdev
12:12:10 --- nick: eremitah_ -> eremitah
12:16:39 --- quit: eremitah (Ping timeout: 248 seconds)
12:18:54 --- join: eremitah (~int@unaffiliated/eremitah) joined #osdev
12:21:53 --- join: EvanCarroll (~ecarroll@172.58.99.99) joined #osdev
12:23:19 --- quit: eremitah (Ping timeout: 240 seconds)
12:23:27 --- join: spare (~user@unaffiliated/spareproject) joined #osdev
12:26:03 --- join: w41 (~w41@unaffiliated/w41) joined #osdev
12:28:10 --- quit: jrheaton (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:31:53 <matviy> I linked a 64-bit ELF on an x86_64 machine and can kexec into it without issue
12:32:26 <matviy> When I move the file to another x86_64 machine, i get "Cannot determine the file type of a.out"
12:32:40 <matviy> (when loading w/ kexec)
12:32:55 --- join: glauxosdever (~alex@94.65.234.164) joined #osdev
12:33:19 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
12:33:19 --- quit: Oxyd76 (Read error: Connection reset by peer)
12:33:26 <matviy> file a.out shows ELF 64-bit LSB executable x86-64 statically linked not stripped
12:33:53 --- quit: m3nt4L (Remote host closed the connection)
12:34:07 <matviy> kexec says that it supportx ELF-x86 files, which afaik should be both 64-bit and 32-bit executables
12:35:02 <bcos> Whose "kexec"?
12:35:39 --- join: zeus1 (~zeus@197.239.37.40) joined #osdev
12:35:49 --- quit: EvanCarroll (Ping timeout: 240 seconds)
12:38:39 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
12:38:41 <bcos> Regardless of whose "kexec" it is; the file format is just scratching the surface - there can be special extra (required) information in the file format's headers, there has to be an agreement on how information is passed from old kernel to new kernel, etc.
12:39:33 <bcos> ..and depending on whose "kexec"; all of this stuff can be volatile (e.g. break every time the kernel is updated to a new major version)
12:39:33 --- quit: Oxyd76 (Read error: Connection reset by peer)
12:39:38 <matviy> kexec --load on the machine i moved the file to outputs "Cannot determine the file type of a.out"
12:39:54 <matviy> But on the machine i compiled/linked it on, it works
12:40:03 <bcos> ?
12:40:10 <bcos> Did you try reinstalling FreeBSD?
12:40:26 <matviy> Both are running x86_64 linux
12:41:55 <matviy> Hmm, maybe it is a kernel thing, but I would have thought that a simple elf64 file would be portable?
12:41:58 <bcos> Ah, so it's Linux's "kexec". Are you able to find any kind of standard saying how it's upposed to be implemented for Linux?
12:42:18 <matviy> Sorry, didn't realize you were asking about the OS
12:42:44 --- join: hppavilion[1] (~dosgmowdo@74-114-87-80.dynamic.asdk12.org) joined #osdev
12:42:48 * bcos wouldn't be too surprised if kernel is supposed to start in 32-bit (to make it more similar to the pre-existing "Linux Boot Protocol")
12:44:10 --- join: eremitah (~int@unaffiliated/eremitah) joined #osdev
12:44:13 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
12:45:07 --- quit: zeus1 (Ping timeout: 264 seconds)
12:49:27 --- join: jrheaton (~jrheaton@162-235-12-210.lightspeed.bcvloh.sbcglobal.net) joined #osdev
12:50:04 --- quit: Oxyd76 (Read error: Connection reset by peer)
12:51:29 <bcos> Hrm
12:51:41 <bcos> matviy: Potentially interesting: https://lwn.net/Articles/603116/
12:51:42 <bslsk05> ​lwn.net: Reworking kexec for signatures [LWN.net]
12:57:41 --- join: eremitah_ (~int@unaffiliated/eremitah) joined #osdev
12:58:08 --- quit: eremitah (Ping timeout: 256 seconds)
12:58:09 --- nick: eremitah_ -> eremitah
12:59:28 --- quit: jrheaton (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:00:04 --- join: jrheaton (~jrheaton@162-235-12-210.lightspeed.bcvloh.sbcglobal.net) joined #osdev
13:00:04 --- quit: jrheaton (Client Quit)
13:06:50 --- join: Barrett (~barrett@unaffiliated/barrett) joined #osdev
13:07:19 --- quit: t3hn3rd (Read error: Connection reset by peer)
13:14:48 --- quit: hppavilion[1] (Remote host closed the connection)
13:15:13 --- join: hppavilion[1] (~dosgmowdo@74-114-87-80.dynamic.asdk12.org) joined #osdev
13:16:23 --- join: hppavilion[0] (~dosgmowdo@74-114-87-80.dynamic.asdk12.org) joined #osdev
13:20:06 --- quit: hppavilion[1] (Ping timeout: 256 seconds)
13:22:15 --- quit: hppavilion[0] (Ping timeout: 248 seconds)
13:22:49 --- quit: awang_ (Ping timeout: 240 seconds)
13:24:43 --- join: JusticeEX (~justiceex@pool-98-113-143-43.nycmny.fios.verizon.net) joined #osdev
13:25:14 --- join: Burgundy (~yyomony@86.121.78.25) joined #osdev
13:26:09 --- join: awang_ (~awang@rrcs-24-106-163-46.central.biz.rr.com) joined #osdev
13:28:04 --- join: xerpi (~xerpi@254.red-83-45-194.dynamicip.rima-tde.net) joined #osdev
13:28:51 --- join: zeus1 (~zeus@197.239.37.40) joined #osdev
13:29:47 --- join: jrheaton (~jrheaton@2605:a000:122c:a5:9115:61ba:e103:182c) joined #osdev
13:30:03 --- quit: elevated (Quit: bye)
13:31:43 --- join: elevated (~elevated@unaffiliated/elevated) joined #osdev
13:33:27 --- quit: Guest29616 (Ping timeout: 248 seconds)
13:40:23 --- quit: absurdistani (Ping timeout: 248 seconds)
13:40:24 --- join: hppavilion[1] (~dosgmowdo@74-114-87-80.dynamic.asdk12.org) joined #osdev
13:40:42 --- join: tacco| (~tacco@i59F4D816.versanet.de) joined #osdev
13:43:43 --- join: dormito (~dormito@172.58.68.97) joined #osdev
13:50:49 --- quit: oaken-source (Ping timeout: 255 seconds)
13:51:24 <lachlan_s> Yeah, turns out processes were getting deallocated while running!
13:52:31 <geist> yeah that'll do it
13:53:19 --- quit: andrei-n (Ping timeout: 240 seconds)
13:54:03 --- join: hmmmmm (~sdfgsf@pool-72-79-161-112.sctnpa.east.verizon.net) joined #osdev
13:55:46 --- join: bcos_ (~bcos@CPE-58-170-185-157.lns3.win.bigpond.net.au) joined #osdev
13:56:49 --- quit: hmmmm (Ping timeout: 240 seconds)
13:59:28 --- quit: bcos (Ping timeout: 268 seconds)
14:11:14 --- quit: hppavilion[1] (Ping timeout: 256 seconds)
14:13:34 --- join: EvanCarroll (~ecarroll@172.58.102.137) joined #osdev
14:15:57 --- join: hppavilion[1] (~dosgmowdo@74-114-87-80.dynamic.asdk12.org) joined #osdev
14:16:24 <lachlan_s> Scope issues, mainly
14:16:29 --- join: Thalheim (~me@zv.io) joined #osdev
14:17:12 <lachlan_s> geist: Where does fuchsia put the handle for the init process? Does it just hang out in the object table and not get used?
14:18:20 <geist> it holds its own ref, so if it dies it'll probably get cleaned up
14:19:46 <lachlan_s> Okay, cool
14:20:13 <lachlan_s> Does each process have a handle to itself?
14:20:26 <geist> it doesn't have to, but in general yes
14:20:38 <geist> it's usually part of the initial message to the process: here's a handle to yourself and the initial thread
14:23:15 --- quit: w41 (Ping timeout: 256 seconds)
14:23:56 --- quit: nortega (Quit: Vivu lante, vivu feliĉe!)
14:24:43 --- join: eremitah_ (~int@unaffiliated/eremitah) joined #osdev
14:24:57 --- quit: eremitah (Ping timeout: 240 seconds)
14:25:04 --- nick: eremitah_ -> eremitah
14:26:39 --- quit: EvanCarroll (Ping timeout: 256 seconds)
14:26:39 <lachlan_s> I found my favorite comment so far about nebulet: https://www.reddit.com/r/programming/comments/8jfew6/nebulet_a_microkernel_that_implements_a/dyzaqje
14:26:41 <bslsk05> ​www.reddit.com: nebulet: A microkernel that implements a WebAssembly "usermode" that runs in Ring 0. : programming
14:26:58 <lachlan_s> Someone posted it on r/programming
14:28:10 <geist> rad
14:28:26 <pounce> lmao
14:28:27 --- join: immibis (~chatzilla@222-155-160-32-fibre.bb.spark.co.nz) joined #osdev
14:28:28 --- join: Shamar (~giacomote@unaffiliated/giacomotesio) joined #osdev
14:28:29 --- join: eremitah_ (~int@unaffiliated/eremitah) joined #osdev
14:28:56 <lachlan_s> Yeah, I think it's pretty funny
14:29:31 --- quit: eremitah (Ping timeout: 260 seconds)
14:29:31 --- nick: eremitah_ -> eremitah
14:29:47 <Brnocrist> Normally, this would be super dangerous, but WebAssembly is designed to run safely on remote computers, so it can be securely sandboxed without losing performance.
14:29:57 <Brnocrist> what..
14:30:05 <lachlan_s> I mean, it is
14:30:07 <lachlan_s> That's true
14:33:38 --- join: eremitah_ (~int@unaffiliated/eremitah) joined #osdev
14:33:57 --- quit: eremitah (Ping timeout: 240 seconds)
14:34:11 <lachlan_s> Brnocrist: https://webassembly.org/
14:34:12 <bslsk05> ​webassembly.org: WebAssembly
14:34:41 --- quit: glauxosdever (Quit: leaving)
14:36:01 <Brnocrist> I know this shit..
14:36:13 <pounce> hey lachlan_s is nebulet smp
14:38:04 <lachlan_s> pounce: Not yet
14:38:08 <lachlan_s> Probably later this summer
14:38:16 --- quit: eremitah_ (Ping timeout: 260 seconds)
14:38:48 <pounce> hmm, you have a bump allocator still, right?
14:39:09 <pounce> also how's the unit testing coming along? Mine is almost done and I might be able to port it over if you'd like
14:39:36 <pounce> I'm running into lifetime issues everywhere in my scheduler and it's terrible.
14:40:08 <lachlan_s> Nah, got rid of the bump allocator a while back
14:40:15 <lachlan_s> Currently using the rust port of dlmalloc
14:40:29 <lachlan_s> Yeah, it'd be great if you could port over the unit testing
14:40:56 <lachlan_s> Also, my scheduler works pretty well, so you can take a look at that if you want inspiration
14:41:42 --- quit: quc (Remote host closed the connection)
14:42:35 <lachlan_s> pounce: Here's what my scheduler looks like: https://github.com/nebulet/nebulet/blob/master/src/task/scheduler.rs
14:42:36 <bslsk05> ​github.com: nebulet/scheduler.rs at master · nebulet/nebulet · GitHub
14:42:55 --- join: peterbjornx (~peterbjor@arachne.peterbjornx.nl) joined #osdev
14:43:19 <peterbjornx> anyone here happen to be familiar with 8086 fastcall?
14:43:33 <peterbjornx> does it use bx as a link register?
14:46:12 --- join: Naergon (~Naergon@unaffiliated/naergon) joined #osdev
14:47:15 --- join: eremitah (~int@unaffiliated/eremitah) joined #osdev
14:47:58 <pounce> lachlan_s: what's the reason for #[repr(transparent)] on your ThreadRef
14:48:28 <lachlan_s> It probably doesn't need to be there, but I just wanted to make sure that rust treated `ThreadRef` as the wrapped ptr.
14:50:48 <pounce> Why keep a ThreadRef instead of a Box anyway?
14:51:41 <pounce> (or transmute between Box and *mut T when you can just use the alloc functions themselves)
14:52:28 --- join: eremitah_ (~int@unaffiliated/eremitah) joined #osdev
14:52:31 <Barrett> lachlan_s, how can running a software in ring 0 be a good idea in general?
14:52:57 <lachlan_s> pounce: ThreadRef just makes moving around the pointer easier
14:53:06 <Barrett> I mean, you can design your web assembly in the best way possible
14:53:09 <lachlan_s> You don't need it, but it's qol, at least for me
14:53:30 <Barrett> but bugs exists, and when they are exploited, code can run in ring 0.
14:53:34 <lachlan_s> Barrett: Since the wasm is sandboxed, and the compiler and runtime is (presumably) correct, it should be safe
14:53:39 <lachlan_s> Yes, but bugs get fixed
14:54:10 <Barrett> sure, but suppose there's a 0 day for your sandbox
14:54:25 --- quit: eremitah (Ping timeout: 256 seconds)
14:54:25 --- nick: eremitah_ -> eremitah
14:54:40 <Barrett> you can't never be sure there aren't critical bugs.
14:54:44 --- quit: JusticeEX (Ping timeout: 256 seconds)
14:54:45 <lachlan_s> That's true!
14:54:52 <lachlan_s> But it's the same for regular oses
14:54:54 <Barrett> that's the whole point of memory protection
14:55:30 --- quit: Tazmain (Remote host closed the connection)
14:55:32 <Barrett> it's not exactly the same...
14:55:34 <Barrett> but OK
14:55:54 --- join: EvanCarroll (~ecarroll@50-194-182-70-static.hfc.comcastbusiness.net) joined #osdev
14:56:09 <lachlan_s> You're right, it's not exactly the same
14:56:17 <pounce> I think your kernel is cool, but I don't know why there aren't any newlines on the end of any of your files :P
14:56:27 <lachlan_s> It's probably vscode
14:57:20 <pounce> evil microsoft propaganda
14:57:47 <lachlan_s> ^
14:58:00 <pounce> I'm going to send a pr to you with only newlines >.>
14:58:03 <Barrett> memory protection makes running code in ring 0 from a userspace process very hard, and we will not consider address randomization and other things which makes things a lot more difficult
14:58:29 <Barrett> the project is interesting, I just don't think running it in ring 0 has so many advantages at all
14:58:36 <lachlan_s> pounce: I'll accept it lol
14:58:47 <lachlan_s> Barrett: I mean, I can see why you think that
14:58:56 <lachlan_s> It's definitely a valid view
15:00:02 <pounce> oh no, there are carriage returns too
15:00:31 <lachlan_s> Yepppp
15:00:33 <Barrett> however I find very interesting the idea of creating a virtual target architecture with little overhead
15:01:24 <Barrett> that'd be like putting the advantages of C and the JVM in one thing
15:01:44 <lachlan_s> Pretty much
15:02:01 <Barrett> I'm not sure it can work well in pratice like in theory : )
15:02:35 <lachlan_s> Barrett: Have you heard of singularity os?
15:02:56 <Barrett> yeah
15:03:21 <Barrett> but it was abandoned I think
15:03:35 <lachlan_s> Sorta
15:03:50 <lachlan_s> They took it apart to work on a predecessor called Midori
15:04:27 --- quit: xerpi (Quit: Leaving)
15:04:52 <lachlan_s> It was actually really successful for what it was
15:04:55 --- quit: eremitah (Ping timeout: 264 seconds)
15:05:04 --- join: eremitah_ (~int@unaffiliated/eremitah) joined #osdev
15:05:09 <Barrett> my whole impression, in general about OSes is that as long as we run it on a ram machine with memory hierarchy there's little to invent
15:05:10 <bcos_> It was research (never intended to be used by normal people)
15:05:28 --- nick: eremitah_ -> eremitah
15:05:34 <Barrett> even microkernels never demonstrated their superiority
15:05:35 <lachlan_s> Doesn't hurt to try "new" things!
15:05:36 --- quit: immibis (Ping timeout: 276 seconds)
15:05:36 --- quit: hppavilion[1] (Ping timeout: 276 seconds)
15:05:39 <Barrett> sure
15:05:43 --- quit: Asu (Quit: Konversation terminated!)
15:06:08 <lachlan_s> And, while I can't be sure, this does sidestep a lot of the issues that plague microkernels
15:06:26 <bcos_> How?
15:06:40 <Barrett> new ideas are always nice and worth to try, sure
15:07:17 <bcos_> The issues that plague microkernels are the same as the issues that plague anything that isn't Windows or Linux - no users = no software = no users = no software = ...
15:07:17 <lachlan_s> As far as I can tell, the frequent context and ring switching in microkernels can make them significantly slower for some things
15:07:25 <lachlan_s> That too!
15:08:26 --- join: eremitah_ (~int@unaffiliated/eremitah) joined #osdev
15:08:37 <bcos_> I wouldn't say significantly slower (especially now that monolithics are doing KPTI), but they do trade speed for security
15:09:29 <Barrett> I think, if you are going to implement everything on top of a webassembly vm, I think you need to replicate in sw memory protection mechanisms
15:09:31 --- join: Oxyd76 (~quassel@5.18.99.0) joined #osdev
15:09:43 --- quit: ZipCPU (Ping timeout: 256 seconds)
15:09:43 <Barrett> that'd be very slow
15:09:59 --- quit: eremitah (Ping timeout: 248 seconds)
15:10:21 <lachlan_s> What do you mean by that?
15:10:22 <bcos_> Heh - no threads, no SIMD? It's going to be slow anyway...
15:10:42 <lachlan_s> Also, wasm is getting simd at some point
15:10:45 <lachlan_s> And threads
15:11:13 <chrisf> at some point?
15:11:28 <lachlan_s> Yeah, soon(TM)
15:11:42 <pounce> ok so I'm a bit of an assembly noob. How do I push a `(uint64_t) 0` onto the stack?
15:12:04 <lachlan_s> `push qword 0` probably
15:12:08 <geist> pushq $0 if on at&t syntax
15:12:20 <pounce> I did that and it deref'd null lachlan_s >.>
15:12:25 --- join: eremitah (~int@unaffiliated/eremitah) joined #osdev
15:12:49 --- quit: eremitah_ (Ping timeout: 240 seconds)
15:12:51 --- quit: Kimundi_ (Ping timeout: 268 seconds)
15:12:58 <lachlan_s> `pushq 0` should work
15:13:31 <Barrett> lachlan_s, apps even if written in webassembly should need some memory protection
15:14:02 <lachlan_s> Sure, you can just use hardware protection on regions of their linear memory.
15:14:57 <bcos_> Hrm
15:15:04 <pounce> lachlan_s: that does `push QWORD PTR ds:0x0` which I think derefs 0x0
15:15:13 <pounce> also geist's doesn't compile... (inline asm is weird)
15:15:24 --- quit: JonRob (Quit: Lost terminal)
15:15:34 <geist> well you a) havent specified what arch you're building for and b) what syntax you're using
15:15:47 <bcos_> lachlan_s: I'm not convinced - if they support threads and SIMD in webassembly, then everyone is going to use it for "cryptocurrency miner injection" and then everyone will block/ban webassembly in all the browsers\
15:15:51 <geist> so i'm *assuming* x86-64 and at&t syntax
15:16:23 <pounce> I /think/ it's x64 at&t, but it's weird because inline assembly. I can also specify intel which is what I normally do
15:16:36 <geist> well, then i dunno what you're trying to do
15:16:44 <lachlan_s> bcos_: People already use js for mining, and most people don't block js
15:16:53 <geist> why would you possibly want to push something in inline assemlby? that's almost always a terrible idea
15:16:59 <geist> unless you pop it right back
15:17:34 --- quit: mavhq (Read error: Connection reset by peer)
15:18:48 --- join: mavhq (~quassel@cpc77319-basf12-2-0-cust433.12-3.cable.virginm.net) joined #osdev
15:19:08 <pounce> I'm trying to push a fake error code for an isr (also this is some naked function/macro hacking for making isrs)
15:19:17 <Barrett> does ring 0 support memory protection at all?
15:19:21 <pounce> ...maybe I'll just go write it in assembly
15:19:24 <pounce> Barrett: yes
15:19:36 <lachlan_s> Yea
15:19:58 <geist> note there's a cr0 bit you have to set (i thik it's in cr0) to cause supervisor mode to fault properly on pages
15:20:17 <bcos_> Barrett: Intel added a new thing to make up for monolithics sucking (supervisor mode access prevention)
15:20:18 <geist> and then there's the furner SMAP stuff that lets yuo cause supervisor code to fault on user pages
15:20:40 <lachlan_s> Yep
15:20:51 <Barrett> ok
15:21:03 <pounce> cr0 |= (1 << 16)
15:21:11 <geist> yah that one. WP bit
15:21:28 <geist> otherwise i guess supervisor mode just blows through all permissions
15:21:42 <pounce> I have cr0 |= (1 << 31) | (1 << 16) in my bootfile
15:21:43 <geist> modulo whatever SMAP does as well
15:21:58 <geist> the WP bit is just one of those things you always set
15:22:00 <pounce> geist: why would you want it to fault on user pages?
15:22:19 <geist> pounce: to protect against stray accesses from kernel space to user space
15:22:29 <geist> if user space is mapped ath the same time (which it is on most systems)
15:22:46 <geist> smap was added somewhere around sandy bridge as an additional protection for the kernel to give itself
15:22:49 <pounce> how would you read from userspace though for all the syscalls that require it?
15:23:09 <pounce> I can think of a few ways, but they don't seem great
15:23:13 <geist> you can temporarily disable it via the AC EFLAGS register
15:23:23 <pounce> ah ok
15:23:33 <geist> basically the more or less unused AC bit gets recycled for this purpose when SMAP is enabled
15:23:43 <geist> and they added clac/stac instructions to let you quickly clear/set it
15:24:10 <geist> SMAP is enabled via bit 21 in CR4. SMEP is bit 20, and is related
15:24:25 <geist> supervisor mode cannot execute any user page
15:24:47 <pounce> he clac, he stac, but most importantly he is not vulnerable to userland attac
15:25:11 <geist> or he get SMAPped upside the head
15:25:30 <lachlan_s> Well said pounce
15:25:56 <geist> https://en.wikipedia.org/wiki/Control_register#CR0 actually has a pretty good summary
15:25:56 <bslsk05> ​en.wikipedia.org: Control register - Wikipedia
15:26:08 <geist> i love how it just generally assumes yuo want to look up x86 control register
15:26:18 <geist> vs the millions of other kind of control registers found on other hardware
15:27:09 <geist> eh, what is going on with the Cr9/CR10 stuff there? VAD deep fry check? eh?
15:27:50 <geist> ah looks like some sort of vandalism i think
15:27:53 --- join: ZephyrZ80 (~Frank@c-67-181-64-37.hsd1.ca.comcast.net) joined #osdev
15:28:02 <ZephyrZ80> Hello.
15:29:34 <bcos_> geist: Page history: "revert vandalism - there's no cr9 and cr10" then "undid revision"
15:29:38 <geist> yah
15:29:47 --- quit: xenos1984 (Quit: Leaving.)
15:29:47 <geist> here's your opportunity to shine!
15:29:51 <geist> revert the revert
15:30:22 * bcos_ can't even remember his login details for wikepedia :-(
15:30:27 <ZephyrZ80> Revert all revisions on a revisionary basis.
15:31:13 <geist> but but something is *wrong* on the internet!
15:31:17 <pounce> lachlan_s: where are your `interrupt!` and `interrupt_stack!` defined?
15:31:27 <Barrett> rotfl
15:31:38 <bcos_> geist: That's why I'm thinking of inventing "Internet version 2.0" :-)
15:31:53 <pounce> >rotfl < ah! This is the instruction I was looking for
15:32:02 <bcos_> (now, with no anonymity whatsoever!)
15:32:29 <lachlan_s> pounce: `src/arch/x64/macros.rs`
15:35:15 <pounce> https://github.com/nebulet/nebulet/blob/master/src/arch/x64/macros.rs#L78 < beautiful
15:35:17 <bslsk05> ​github.com: nebulet/macros.rs at master · nebulet/nebulet · GitHub
15:36:13 --- quit: tacco| ()
15:36:14 <lachlan_s> pounce: Yeah, I was using that to find the offset of a field in a struct before
15:36:21 <lachlan_s> Not using it anymore, I think
15:36:45 <pounce> I'm surprised there isn't a mem::offset_of tbh
15:36:48 <Barrett> bcos_, I guess that's a completely decentralized internet using an imaginary compression algorithm
15:37:09 <Barrett> and solving problems mathematically untractable
15:37:27 --- quit: janemba (Quit: WeeChat 1.5)
15:37:37 <lachlan_s> Yeah, surprises me too, but that's how I did it back when I did a lot of c and it works in rust too
15:37:49 --- join: JusticeEX (~justiceex@pool-98-113-143-43.nycmny.fios.verizon.net) joined #osdev
15:39:25 <pounce> I also thought (0 as *const T) was UB, but I guess not
15:39:58 --- join: eremitah_ (~int@unaffiliated/eremitah) joined #osdev
15:40:41 --- quit: eremitah (Ping timeout: 260 seconds)
15:40:41 --- nick: eremitah_ -> eremitah
15:41:17 <pounce> btw, do you use a separate kernel stack for all interrupts? How does that work with changing stacks all the time in your scheduler
15:42:55 --- join: janemba (~janemba@unaffiliated/janemba) joined #osdev
15:43:06 <lachlan_s> Right now, it doesn't switch stacks for interrupts since stacks can't get corrupted
15:45:47 --- quit: newnix (Quit: WeeChat 2.1)
15:47:05 --- join: jakogut (~jakogut_@162.251.69.147) joined #osdev
15:52:32 --- quit: EvanCarroll (Ping timeout: 256 seconds)
15:54:44 --- quit: millerti (Ping timeout: 264 seconds)
15:57:12 --- join: EvanCarroll (~ecarroll@50-194-182-70-static.hfc.comcastbusiness.net) joined #osdev
16:07:12 --- quit: Barrett (Quit: Capeesh? Na vota tu dissi, I told you many times this is my businissi.)
16:11:18 --- join: chao-tic (~chao@203.97.21.86) joined #osdev
16:11:21 --- quit: vmlinuz (Ping timeout: 276 seconds)
16:13:01 --- quit: Shamar (Quit: Lost terminal)
16:13:29 --- quit: ZeDestructor (Quit: o.O)
16:16:11 --- join: ZeDestructor (~ZD@unaffiliated/zedestructor) joined #osdev
16:20:04 --- join: Philpax (~Philpax@144.132.100.253) joined #osdev
16:20:35 --- join: freakazoid0223_ (~IceChat9@pool-108-52-244-197.phlapa.fios.verizon.net) joined #osdev
16:22:41 --- quit: freakazoid0223 (Ping timeout: 260 seconds)
16:22:46 --- join: variable (~variable@freebsd/developer/variable) joined #osdev
16:24:19 --- quit: MDude (Ping timeout: 240 seconds)
16:24:54 --- quit: jrheaton (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:27:34 --- join: vmlinuz (~vmlinuz@187.74.95.236) joined #osdev
16:27:34 --- quit: vmlinuz (Changing host)
16:27:34 --- join: vmlinuz (~vmlinuz@unaffiliated/vmlinuz) joined #osdev
16:42:19 --- nick: variable -> function
16:43:32 --- quit: Shikadi (Ping timeout: 256 seconds)
16:43:58 --- join: MDude (~MDude@pa-67-234-118-37.dhcp.embarqhsd.net) joined #osdev
16:44:40 --- quit: chao-tic (Ping timeout: 256 seconds)
16:49:28 --- join: glfernando (glfernando@nat/google/x-opdmastcrkjxqlhl) joined #osdev
17:11:34 --- quit: bcos_ (Ping timeout: 260 seconds)
17:14:13 --- quit: zeus1 (Ping timeout: 255 seconds)
17:14:37 --- quit: vmlinuz (Quit: Leaving)
17:14:48 --- join: epelesis (~e@vpnpool-130-126-152-116.near.illinois.edu) joined #osdev
17:15:51 --- quit: X-Scale (Ping timeout: 248 seconds)
17:17:09 --- quit: epelesis (Max SendQ exceeded)
17:18:04 --- join: epelesis (~e@vpnpool-130-126-152-116.near.illinois.edu) joined #osdev
17:21:26 --- quit: epelesis (Max SendQ exceeded)
17:22:46 --- join: epelesis (~e@vpnpool-130-126-152-116.near.illinois.edu) joined #osdev
17:27:47 --- join: chao-tic (~chao@203.97.21.86) joined #osdev
17:28:30 --- join: X-Scale (~ARM@83.223.226.42) joined #osdev
17:36:46 --- join: promach__ (~promach@bb219-74-174-136.singnet.com.sg) joined #osdev
17:39:50 --- quit: rafaeldelucena (Ping timeout: 265 seconds)
17:43:01 --- quit: chao-tic (Ping timeout: 255 seconds)
17:47:51 --- join: vaibhav (~vnagare@125.16.97.118) joined #osdev
17:53:43 --- quit: bauen1 (Ping timeout: 240 seconds)
18:01:26 --- join: Arcaelyx (~Arcaelyx@2604:2000:f14a:2500:b958:bd65:5e10:bb27) joined #osdev
18:14:49 --- join: chao-tic (~chao@203.97.21.86) joined #osdev
18:18:43 --- quit: spare (Quit: leaving)
18:29:31 <ZephyrZ80> Is there any reason to not use the LEAN filesystem for a (very) simple OS?
18:31:09 <Mutabah> General support?
18:31:17 --- join: bauen1 (~bauen1@gate.josefstal.de) joined #osdev
18:32:01 <ZephyrZ80> It's going to be for an 8-bit computer, so cross-compatibility isn't much of an issue.
18:36:01 <latentprion> Shining happy people holding haaands
18:36:11 <latentprion> Shining happy people laughing~
18:40:54 --- quit: promach__ (Quit: WeeChat 2.1)
18:45:06 <latentprion> https://www.youtube.com/watch?v=1H20W0e_oSM
18:45:07 <bslsk05> ​'R.E.M: Shiny Happy People (Lyrics)' by GermanLyrics98 (00:03:45)
18:59:30 --- quit: ohnx (K-Lined)
19:00:39 <geist> word
19:10:14 <ZephyrZ80> Adjective
19:10:39 --- quit: MarchHare (Ping timeout: 276 seconds)
19:11:35 --- join: drakonis (~drakonis@unaffiliated/drakonis) joined #osdev
19:16:46 --- join: drakonis_ (~drakonis@unaffiliated/drakonis) joined #osdev
19:19:19 --- join: Goplat (~Goplat@reactos/developer/Goplat) joined #osdev
19:22:19 <geist> dword
19:23:39 --- quit: epelesis (Ping timeout: 276 seconds)
19:24:53 <ZephyrZ80> Long
19:24:57 --- quit: Philpax (Ping timeout: 240 seconds)
19:30:29 <Ameisen> millibit
19:30:49 <ZephyrZ80> Trit
19:34:32 --- join: S_Gautam (3bb6f6ec@gateway/web/cgi-irc/kiwiirc.com/ip.59.182.246.236) joined #osdev
19:34:32 --- quit: S_Gautam (Changing host)
19:34:32 --- join: S_Gautam (3bb6f6ec@unaffiliated/gautams) joined #osdev
19:34:32 --- quit: S_Gautam (Changing host)
19:34:32 --- join: S_Gautam (3bb6f6ec@gateway/web/cgi-irc/kiwiirc.com/ip.59.182.246.236) joined #osdev
19:35:31 <lachlan_s> Figured out another weird issue where the wasm compiler was getting confused which function signature corresponded to what
19:35:42 * function executes lachlan_s
19:36:11 <lachlan_s> :P
19:37:29 <function> python really needs someone to fix its build system
19:37:29 <function> :(
19:38:05 --- join: sixand (~Thunderbi@111.77.145.247) joined #osdev
19:41:25 --- quit: drakonis_ (Quit: Leaving)
19:43:21 --- quit: JusticeEX (Ping timeout: 260 seconds)
19:47:17 <lachlan_s> Python has a build system?
19:48:47 <Ameisen> better be called egg
19:52:12 --- join: m712 (~annoying@unaffiliated/thefam) joined #osdev
19:53:41 --- join: unixpickle (~alex@c-24-5-86-101.hsd1.ca.comcast.net) joined #osdev
19:53:55 --- join: epelesis (~e@vpnpool-192-17-150-245.near.illinois.edu) joined #osdev
19:57:20 --- quit: epelesis (Read error: Connection reset by peer)
20:01:02 --- join: vdamewood (~vdamewood@unaffiliated/vdamewood) joined #osdev
20:01:42 --- quit: andrewrk (Quit: ZNC - http://znc.in)
20:06:00 --- join: andrewrk (~andrewrk@cpe-68-175-109-180.nyc.res.rr.com) joined #osdev
20:06:21 --- quit: aalm (Ping timeout: 255 seconds)
20:08:13 --- quit: EvanCarroll (Ping timeout: 265 seconds)
20:08:19 --- join: aalm (~aalm@37-219-237-30.nat.bb.dnainternet.fi) joined #osdev
20:09:48 --- quit: vdamewood (Ping timeout: 276 seconds)
20:10:51 --- quit: nj0rd (Ping timeout: 255 seconds)
20:23:19 --- join: dbittman_ (~dbittman@2601:647:ca00:1651:b26e:bfff:fe31:5ba2) joined #osdev
20:26:02 --- join: nj0rd (~nj0rd@i577BC0F8.versanet.de) joined #osdev
20:27:55 --- join: bcos_ (~bcos@CPE-101-103-161-28.lnse1.way.bigpond.net.au) joined #osdev
20:32:21 --- quit: bcos_ (Ping timeout: 260 seconds)
20:32:39 --- quit: r3n (Ping timeout: 276 seconds)
20:32:59 --- join: r3n (~c@kana.node.kitteninfra.net.nz) joined #osdev
20:33:45 --- join: vdamewood (~vdamewood@unaffiliated/vdamewood) joined #osdev
20:34:21 --- quit: vdamewood (Client Quit)
20:35:23 --- join: vdamewood (~vdamewood@unaffiliated/vdamewood) joined #osdev
20:37:30 <geist> wait, do pythons not give live birth?
20:40:31 <vdamewood> I thought only mammals and fish gave live birth.
20:40:49 <vdamewood> (And even then, not all of them)
20:41:06 <geist> i thoguht some snakes did too. maybe it's not across the board
20:41:39 <S_Gautam> vdamewood, Platypus lays eggs
20:41:40 <geist> ah a quick grep of the itnernet says that 70% of them do
20:41:54 <S_Gautam> Although the platypus is classified as a mammal
20:42:36 <vdamewood> S_Gautam: Yeah, I know. You might want to work on your logic.
20:43:07 <S_Gautam> Ok
20:43:55 --- join: bcos_ (~bcos@1.123.137.171) joined #osdev
20:44:13 <vdamewood> geist: 70% live or 70% eggs?
20:44:21 <geist> eggs
20:44:35 <geist> http://www.reptileknowledge.com/articles/article28.php
20:44:36 <bslsk05> ​www.reptileknowledge.com: Which Snakes Lay Eggs? Which Snakes Give Birth to Live Young?
20:44:37 <vdamewood> So snakes are 30% live? This is news to me.
20:44:42 <geist> BEHOLD THE INTERNET
20:44:59 <geist> i always remember this because we had rattlesnakes in texas and they were known to give live birth
20:45:05 <jjuran> Is it 70% live or 70% Memorex?
20:45:09 <geist> more specifically if you kileld one and cut it up there were a chance that there were babies inside
20:45:23 <geist> so you had to be careful. for some reason that particular nugget of knowledge stuck with me
20:45:59 <jjuran> That's a really cool idea for a final boss
20:46:38 <geist> yah once we cooked a rattlesnake, it was okayish
20:46:40 <S_Gautam> think it's already been used
20:46:42 <geist> not the best meat
20:47:19 <S_Gautam> jjuran, You kill something and then mini-somethings of that emerge?
20:48:08 <jjuran> S_Gautam: Okay, yeah
20:48:15 <vdamewood> geist: Great. Now I'm going to spend all day investibating which animals give live birth and which ones lay eggs.
20:48:21 <vdamewood> investigating
20:48:25 <geist> The More You Know (TM)
20:48:51 <vdamewood> There goes all productivity for the day
20:48:52 <S_Gautam> I once spent an entire day watching brain surgery videos
20:49:10 <geist> yeah it happens. somewhere along the way i started getting Quora emails for some random topics
20:49:26 <vdamewood> S_Gautam: I once spent an entire day watching rocket science videos.
20:49:31 <geist> and they're damn interesting. so there will be some minutae post about the escape hatch on a Bradley tank or whatnot
20:49:46 <geist> or exactly how much yaw you have to give if one engine goes out, etc
20:50:53 <jjuran> S_Gautam: I think this counts: https://www.youtube.com/watch?v=K1FbLafFCIQ
20:50:54 <bslsk05> ​'Waynes World Contract' by Brandon Kennedy (00:00:35)
20:50:55 <geist> i think i'm mostly signed up for topics about military vehicles and airplanes, apparently
20:51:39 <S_Gautam> Quora is nice, but then there are tons of pretentious people on there that made the experience meh for me.
20:51:44 --- join: bemeurer (~bemeurer@2600:8802:5300:bb90:863a:4bff:fe06:c8b2) joined #osdev
20:52:11 <vdamewood> At least Quora isn't as bad as expert sex change.
20:53:31 <S_Gautam> hahhahaha, Experts Exchange is an actual website.
20:54:17 <geist> yeah i'm surprised at some of the fairly decent tech info you get on it sometimes
20:54:18 --- quit: bemeurer (Client Quit)
20:54:24 <geist> i'm always fascinated about practical minutae
20:54:46 <vdamewood> S_Gautam: Did you not know about them?
20:54:53 <S_Gautam> Nope...
20:54:55 <geist> like, exactly why handholds are in one spot on a tank or car, or the little phone receiver that was on the back of some tanks in WW2 so you could as an infantry talk to the occupants
20:55:05 <S_Gautam> This seems like another CodeProject/StackExchage/StackOverflow
20:55:23 <geist> how much braking is done with a thrust reverser, why it only is in the inner engines in a 4 engine plane
20:55:33 <vdamewood> S_Gautam: Yeah, they're often on lists of bad domain names. Originally they were expertsexchange.com and well, people got the wrong idea.
20:56:24 <vdamewood> S_Gautam: Yeah, Experts Exchange came around, did some fishy things with google's spider. And Stack Exchange came around to be a better Experts Exchange.
20:57:09 <S_Gautam> the whole SEO thing is almost an industry now
20:57:13 <S_Gautam> so many shady companies
20:57:20 <S_Gautam> offering to list your website on top
20:57:36 --- join: bemeurer (~bemeurer@2600:8802:5300:bb90:863a:4bff:fe06:c8b2) joined #osdev
20:58:18 --- join: EvanCarroll (~ecarroll@172.56.6.200) joined #osdev
20:59:22 --- join: MaryJaneInChain (~user@223.255.127.32) joined #osdev
21:01:45 --- quit: bemeurer (Client Quit)
21:02:08 --- join: bemeurer (~bemeurer@2600:8802:5300:bb90:863a:4bff:fe06:c8b2) joined #osdev
21:02:46 --- quit: bemeurer (Client Quit)
21:02:58 --- quit: S_Gautam (Remote host closed the connection)
21:03:06 --- join: bemeurer (~bemeurer@2600:8802:5300:bb90:863a:4bff:fe06:c8b2) joined #osdev
21:04:51 --- quit: Tanjoodo (Ping timeout: 255 seconds)
21:07:04 --- join: Tanjoodo (~Tanjoodo@69in.space) joined #osdev
21:07:26 --- quit: bemeurer (Client Quit)
21:07:48 --- join: bemeurer (~bemeurer@2600:8802:5300:bb90:863a:4bff:fe06:c8b2) joined #osdev
21:19:22 --- quit: CrystalMath (Quit: Support Free Software - https://www.fsf.org/)
21:22:00 --- quit: pounce (Quit: WeeChat 2.1)
21:22:29 --- quit: function (Quit: /dev/null is full)
21:23:06 --- join: toaru-user (~toaru-use@fs76eed95c.tkyc412.ap.nuro.jp) joined #osdev
21:23:16 <toaru-user> testing a new irc client
21:23:31 --- quit: toaru-user (Client Quit)
21:24:19 <jjuran> vdamewood: Maybe people didn't get the wrong idea. Maybe they were tired of seeing expertsexexchange.com show up in their search results and then not provide any information without signing up.
21:25:40 <vdamewood> jjuran: I'm pretty sure both were happening. But they were quick to change their domain name to experts-exchange.com.
21:26:24 --- join: MarchHare (~Starwulf@mo-184-5-204-232.dhcp.embarqhsd.net) joined #osdev
21:26:30 <vdamewood> jjuran: Wait! expert sex exchange?
21:27:16 <jjuran> If that's an offer, I need more context
21:28:03 <vdamewood> jjuran: You typed 'ex' twice in your URL, so it says expert sex exchange instead of experts exchange or expert sex change.
21:28:08 <jjuran> Oh, oops. Freudian typo :-P
21:30:38 <vdamewood> Either way, it's a horrible site, and I'm glad it's now showing up in my Google searches, anymore.
21:30:44 <vdamewood> s/now/not/
21:31:03 <jjuran> We are now responsible for typographical errors.
21:35:57 --- quit: drakonis (Read error: Connection reset by peer)
21:38:27 --- join: oaken-source (~oaken-sou@p5DDB4FEC.dip0.t-ipconnect.de) joined #osdev
21:54:36 --- quit: lachlan_s (Quit: Connection closed for inactivity)
21:55:59 --- quit: unixpickle (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:56:36 --- join: xenos1984 (~xenos1984@2001:bb8:2002:200:6651:6ff:fe53:a120) joined #osdev
21:57:05 --- join: elderK (~k@pdpc/supporter/active/elderk) joined #osdev
21:58:52 --- quit: freakazoid0223_ (Quit: If you think nobody cares, try missing a few payments)
22:04:54 --- quit: bemeurer (Remote host closed the connection)
22:06:21 --- join: unixpickle (~alex@c-24-5-86-101.hsd1.ca.comcast.net) joined #osdev
22:10:46 --- quit: magnificrab (Ping timeout: 255 seconds)
22:11:03 --- join: magnificrab (~pi@189.171.148.122.sta.dodo.net.au) joined #osdev
22:12:12 --- quit: chao-tic (Ping timeout: 256 seconds)
22:16:22 --- nick: BronzeBeard -> EricB
22:16:49 --- nick: EricB -> BronzeBeard
22:16:53 --- quit: unixpickle (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:17:16 --- join: toaru-user (~toaru-use@fs76eed95c.tkyc412.ap.nuro.jp) joined #osdev
22:17:27 <toaru-user> Hello, friends, I'm running toaru base 1.3.0-c7f1f0c nih May 15 2018 13:34:44 i686
22:17:33 <klange> yay
22:18:04 --- part: toaru-user left #osdev
22:20:55 --- quit: sixand (Ping timeout: 248 seconds)
22:20:56 <geist> grats
22:21:34 <Mutabah> Nice
22:23:35 --- quit: EvanCarroll (Ping timeout: 248 seconds)
22:25:30 --- join: EvanCarroll (~ecarroll@172.56.6.200) joined #osdev
22:26:15 --- join: bemeurer (~bemeurer@185.236.200.248) joined #osdev
22:26:35 --- quit: bemeurer (Client Quit)
22:27:26 --- join: bemeurer (~bemeurer@185.236.200.248) joined #osdev
22:27:43 --- quit: smeso (Ping timeout: 240 seconds)
22:30:35 --- quit: gattuso (Ping timeout: 256 seconds)
22:30:47 --- join: smeso (~smeso@unaffiliated/smeso) joined #osdev
22:34:16 --- join: sixand (~Thunderbi@218.95.91.156) joined #osdev
22:34:49 --- join: zeus1 (~zeus@197.239.5.128) joined #osdev
22:41:07 --- join: ACE_Recliner (~ACE_Recli@c-73-18-225-48.hsd1.mi.comcast.net) joined #osdev
22:44:27 --- join: SGautam (~GautamS@59.182.246.236) joined #osdev
22:44:52 --- quit: SGautam (Changing host)
22:44:52 --- join: SGautam (~GautamS@unaffiliated/gautams) joined #osdev
22:48:48 --- nick: SGautam -> S_Gautam
22:49:38 --- quit: sixand (Remote host closed the connection)
22:49:57 --- join: sixand (~Thunderbi@218.95.91.156) joined #osdev
22:50:09 <geist> so i was thinkin...
22:50:24 --- join: andrei-n (~andrei@51.214-65-87.adsl-dyn.isp.belgacom.be) joined #osdev
22:50:28 <Mutabah> That sounds dangerous
22:55:30 <klange> and there's some server-side clipboard functionality~ https://i.imgur.com/deugqDy.png
22:58:43 --- join: NaNkeen (~nankeen@203.188.234.181) joined #osdev
22:59:56 --- quit: doug16k (Remote host closed the connection)
23:00:22 --- join: m3nt4L (~asvos@2a02:587:a023:f000:3285:a9ff:fe8f:665d) joined #osdev
23:07:10 --- quit: awang_ (Ping timeout: 256 seconds)
23:14:45 --- join: grouse (~grouse@83-233-9-2.cust.bredband2.com) joined #osdev
23:15:41 --- join: w41 (~w41@unaffiliated/w41) joined #osdev
23:20:41 --- join: awang_ (~awang@rrcs-24-106-163-46.central.biz.rr.com) joined #osdev
23:23:19 --- quit: zeus1 (Ping timeout: 240 seconds)
23:23:30 --- join: immibis (~chatzilla@222-155-160-32-fibre.bb.spark.co.nz) joined #osdev
23:25:05 --- join: S_Gautam_ (~GautamS@59.182.246.236) joined #osdev
23:25:59 --- quit: S_Gautam (Remote host closed the connection)
23:36:14 <geist> _mjg_: oh wow, got around to running the syscall test on an atom D330 machine (1.6Ghz)
23:36:44 <geist> 3508069 getuid per second, nopti
23:36:48 <geist> pti..... 650k
23:37:13 <Mutabah> So, factor of 5 decrease?
23:37:39 <geist> would appear so
23:38:01 <geist> now of course that's for the most trivial syscall you can make, so it's probably less overhead, percentage wise, for a substantial syscall
23:38:31 <geist> but the atom should be about the worst you can get. it's a slow in order machine + no PCID to help it
23:39:09 --- quit: w41 (Ping timeout: 256 seconds)
23:44:06 <geist> note even the fast version is like 450 cycles
23:46:43 --- quit: S_Gautam_ (Ping timeout: 240 seconds)
23:47:12 --- quit: mniip (Ping timeout: 615 seconds)
23:48:10 <_mjg_> huh, i knew atom is slow, but man
23:48:37 --- quit: sixand (Ping timeout: 265 seconds)
23:49:06 <geist> yah those syscalls must be microcoded pretty slowly
23:49:40 <geist> sometimes you can get faster detailed implementations of thigns for in order machines like that, but i guess not since the syscall path has all those load/stores and whatnot which are probably hard to do right
23:50:00 <_mjg_> now i'm curious how sparc is doing in this regar
23:50:01 <_mjg_> d
23:50:35 <geist> i do have freebsd on this same atom, will give a try in a sec
23:50:41 <geist> and netbsd for that matter
23:50:58 <geist> this is my 'slow box that i have nothing else to do so i may as well just install one of everything' machine
23:51:46 <_mjg_> note that anything but recent -current kernel will be extra slow
23:52:06 <geist> what changed?
23:52:42 --- quit: oaken-source (Ping timeout: 268 seconds)
23:53:01 <_mjg_> https://svnweb.freebsd.org/base?view=revision&revision=333241
23:53:03 <bslsk05> ​svnweb.freebsd.org: [base] Revision 333241
23:53:06 <_mjg_> and some other stuff in the area
23:53:09 <geist> 529k, so a bit slower than the pti version on linux
23:53:36 <_mjg_> the above change will *probably* close most of the gap
23:53:55 <geist> with the 3.5m?
23:54:38 <_mjg_> whoa, wait
23:54:52 <_mjg_> fbsd *without* pti is slower than linux *with* pti on this box?
23:54:58 <geist> yep
23:55:03 <_mjg_> 8S
23:55:06 <_mjg_> what kernel is this
23:55:17 <geist> 11.1-RELEASE-p9 it seems
23:55:35 <_mjg_> ok, that should be legit (as in no debug or othe crappers)
23:55:45 <_mjg_> that definitely looks significantly more broken tha nexpected
23:55:58 <_mjg_> can you please: kldload hwpmc
23:56:03 <geist> sure
23:56:18 <_mjg_> pmcstat -S CPU_CLK_THREAD_UNHALTED.REF_XCLK -T
23:56:24 <_mjg_> and run the bench in another terminal
23:56:45 <_mjg_> note that pmcstat support for various microarchs is rather poor, so it is quite possible there are no counters for atom
23:57:05 <geist> invalid arg
23:57:13 <_mjg_> in which case scratch it (but i will note there is someone working on an automagic way to import from the linux database)
23:57:26 <geist> pmcstat: ERROR: Cannot allocate system-mode pmc with specification "CPU_CLK_THREAD_UNHALTED.REF_XCLK": Invalid argument
23:57:34 <_mjg_> pmcstat -S unhalted-core-cycles -T
23:57:37 <_mjg_> does this one work?
23:57:42 <_mjg_> if not, screw it
23:57:55 <geist> seems to
23:58:19 <_mjg_> just let the testcase run and kill pmcstat in the middle
23:59:04 <geist> https://pastebin.com/cNg8u6xq
23:59:04 <bslsk05> ​pastebin.com: PMC: [unhalted-core-cycles] Samples: 241794 (100.0%) , 0 unresolved %SAMP IMA - Pastebin.com
23:59:15 <geist> ah so it's using pti maybe?
23:59:26 <geist> hence the Xfast_syscall_pti?
23:59:32 <_mjg_> 6.4 kernel Xfast_syscall_pti
23:59:35 <_mjg_> yea
23:59:51 <geist> so that makes sense then, it's basically 10-15% slower than linux on pti, and that's your bcopy
23:59:59 --- log: ended osdev/18.05.14