klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
Burgundy has quit [Ping timeout: 240 seconds]
gog has quit [Remote host closed the connection]
MaxLeiter has joined #osdev
heat has quit [Remote host closed the connection]
agent314 has joined #osdev
netbsduser`` has quit [Ping timeout: 240 seconds]
raggi has joined #osdev
zid has quit [Read error: Connection reset by peer]
mavhq has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mavhq has joined #osdev
zid has joined #osdev
blop_ has quit [Ping timeout: 252 seconds]
blop_ has joined #osdev
edr has quit [Quit: Leaving]
stolen has joined #osdev
[itchyjunk] has quit [Remote host closed the connection]
blop has joined #osdev
blop_ has quit [Ping timeout: 252 seconds]
smeso has quit [Quit: smeso]
smeso has joined #osdev
rustyy has joined #osdev
netbsduser`` has joined #osdev
leon has quit [Ping timeout: 258 seconds]
Arthuria has joined #osdev
netbsduser`` has quit [Ping timeout: 255 seconds]
yoyofreeman has joined #osdev
Arthuria has quit [Ping timeout: 240 seconds]
leon has joined #osdev
agent314 has quit [Ping timeout: 255 seconds]
Vercas has quit [Remote host closed the connection]
Vercas has joined #osdev
netbsduser`` has joined #osdev
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
gildasio has quit [Remote host closed the connection]
brynet has quit [Ping timeout: 248 seconds]
gildasio has joined #osdev
netbsduser`` has quit [Ping timeout: 255 seconds]
\Test_User has quit [Ping timeout: 252 seconds]
fluix has quit [Ping timeout: 246 seconds]
\Test_User has joined #osdev
fluix has joined #osdev
rustyy has quit [Quit: leaving]
netbsduser`` has joined #osdev
\Test_User has quit [Ping timeout: 252 seconds]
rustyy has joined #osdev
\Test_User has joined #osdev
netbsduser`` has quit [Ping timeout: 245 seconds]
[itchyjunk] has joined #osdev
rustyy has quit [Ping timeout: 245 seconds]
Arthuria has joined #osdev
Arthuria has quit [Ping timeout: 258 seconds]
goliath has joined #osdev
[itchyjunk] has quit [Remote host closed the connection]
netbsduser`` has joined #osdev
brynet has joined #osdev
netbsduser`` has quit [Ping timeout: 255 seconds]
stolen has quit [Quit: Connection closed for inactivity]
Left_Turn has joined #osdev
kof123 has quit [Ping timeout: 252 seconds]
netbsduser`` has joined #osdev
GeDaMo has joined #osdev
Burgundy has joined #osdev
yoyofreeman has quit [Remote host closed the connection]
netbsduser`` has quit [Ping timeout: 248 seconds]
Ermine has quit [Ping timeout: 240 seconds]
Ermine_ has joined #osdev
Ermine_ is now known as Ermine
nyah has joined #osdev
divine has quit [Ping timeout: 260 seconds]
divine has joined #osdev
yoyofreeman has joined #osdev
gbowne1 has joined #osdev
qxz2 has quit [Remote host closed the connection]
skipwich has quit [Ping timeout: 246 seconds]
kfv has joined #osdev
skipwich has joined #osdev
gog has joined #osdev
Burgundy has quit [Ping timeout: 245 seconds]
yoyofreeman has quit [Remote host closed the connection]
yoyofreeman has joined #osdev
kfv has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gbowne1 has quit [Remote host closed the connection]
bauen1 has quit [Ping timeout: 240 seconds]
heat has joined #osdev
kfv has joined #osdev
gabi-250 has quit [Remote host closed the connection]
gabi-250 has joined #osdev
[itchyjunk] has joined #osdev
<heat> good morning to every linux user here
<heat> gooder morninger to every solaris user
<ChavGPT> nice of you to mention me
<ChavGPT> and give specialer greetings
<ChavGPT> thank you heat
<zid> do I count as a linux user
<zid> if I use wsl
<ChavGPT> you don't unless it's arch
yoyofreeman has quit [Read error: Connection reset by peer]
<ChavGPT> heat uses arch btw
<heat> i have two answers
<heat> NO YOU PROPRIETARY PIG
<heat> and yes ofc every windows user is a linux user now
<zid> I builded the kernel m yself though
<ChavGPT> have you seen LSD RCU?
<ChavGPT> for vnode management
<heat> no i tried opening it but its a fucking .ps file
<ChavGPT> this is what you get for not having a clue
<heat> and windoze couldn't oepn it
<ChavGPT> ubuntu has no issues mon :X
<ChavGPT> you can probably find an online converter
<ChavGPT> it is utter crap
<ChavGPT> but if you don' know the problem domain it will easily sound like a clever solution
<ChavGPT> (here problem domain is mostly multicore programming)
<ChavGPT> heat: https://online2pdf.com/convert-ps-to-pdf this site works fine
<bslsk05> ​online2pdf.com: Convert PS files (PostScript) to PDF online & free
<ChavGPT> great f-in' read
<zid> heat: virtualize a printer
<zid> print the .ps to imaginary paper
<zid> take an internal render to texture of the paper
<zid> save as a big .png
<zid> duh
<GeDaMo> ghostscript?
<ChavGPT> fu script
<zid> GeDaMo when are you coming down south for coffee
<ChavGPT> i'm in a foul mood
<zid> we can go to ARM HQ and throw things
<ChavGPT> thanks heat
<GeDaMo> I don't drink coffee
<ChavGPT> OH
<GeDaMo> Or travel :|
<ChavGPT> y not
<zid> oh okay then, blood of innocents
<ChavGPT> you don't lke the taste or something medcical
<GeDaMo> I don't like the smell
<ChavGPT> tried latter?
<ChavGPT> latte
<zid> "I don't travel" isn't the same thing as "I need to stay in daily contact with my parole office"
<ChavGPT> house arrest innit
<ChavGPT> no need to be nasty about tho zid :X
zxrom has quit [Quit: Leaving]
<ChavGPT> the more i look at linux the more disgusted i am
<ChavGPT> say what you want about solaris performance, the code is a pleasant read if you ignore semantics
kfv has quit [Quit: Textual IRC Client: www.textualapp.com]
Burgundy has joined #osdev
xenos1984 has quit [Read error: Connection reset by peer]
<gog> hi
<zid> Hello, I am scared of you so I will be hiding
* ChavGPT picks gog up and spins around
<ChavGPT> gog where is zid
brynet has quit [Quit: leaving]
<heat> where's mjg that bastard
<heat> ChavGPT, you're the one shitting on solaris innit
<heat> i glorify solaris and the great systems of the past
<ChavGPT> solaris is greaterest
<ChavGPT> Sent from my Solaris/Sparc64
brynet has joined #osdev
<heat> macOS git should append "Sent from my iMac" to commit messages
<heat> freebsd's commit log would be in shambles
<ChavGPT> L Mao
<ChavGPT> "Committed from my Ubuntu"
<ChavGPT> i have a shite patch to write and struggle to get myself to do it
<gog> does anybody want to go to reading and do something for me
<ChavGPT> no mate
<gog> there's a company whose dvelopers need a good talking to
<ChavGPT> too busy procrastinating
<gog> thanks
<ChavGPT> yw
<heat> you're all talk no action gog
<ChavGPT> watch Sevrance
<ChavGPT> great tv show
<heat> you'd pull up to that company and be a smol cute cat
<ChavGPT> actual serious comment
<heat> i'm beby
<zid> I don't wana go to Reading
<zid> I am already reading though
<ChavGPT> I went to Listening
<gog> im maby
xenos1984 has joined #osdev
stolen has joined #osdev
heat has quit [Ping timeout: 255 seconds]
<mcrod> hi
<mcrod> reading is close to my area
<gog> reading uk, not pa
<mcrod> oh.
<gog> thanks tho :P
<mcrod> i was going to ask if you wanted to meet up too
<mcrod> :(
<ChavGPT> georgia is not far from here!
<gog> come to iceland
<gog> we have ice
<gog> and land
<ChavGPT> come to poland
<ChavGPT> they have po and land
<ChavGPT> (Platforma Obywatelska is a political party)
<zid> won't even have ice for much longer
<zid> you'll just be land
<zid> and greenland is already taken as a name
<zid> mossland
<FireFly> just swap the names of greenland and iceland
<zid> iceland vs denamrk? I'd ppv that
<FireFly> I hear iceland's a grocery store selling frozen goods
danilogondolfo has joined #osdev
NKpop has joined #osdev
[Kalisto]9 has joined #osdev
[Kalisto] has quit [Ping timeout: 244 seconds]
[Kalisto]9 is now known as [Kalisto]
[itchyjunk] has quit [Remote host closed the connection]
heat has joined #osdev
<heat> ChanServ, one of my professors doesn't understand the stack and virtual memory and i find that charming
<heat> ChavGPT,
<heat> fucking chanserv
<gog> virtual memory
<zid> professor of what
<zid> if it's biology I wouldn't be surprised
<heat> distributed systems
<heat> motherfucker was teaching C and gdb and valgrind
<zid> distributed systems don't run on operating systems, so that's fine
<zid> they run on the buttt
<heat> it was an example where they returned a pointer to a buffer that falls out of scope and he said that in his virtual machine since it's low on memory the old stack memory was some other process', hence printing garbage
<zid> ouch
<zid> that's the old "a little knowledge" adage
<zid> made flesh
<zid> what's the right way to correct that I wonder "Actually, this is a gnu/linux system so objects with automatic storage duration will typically be allocated out of the process's stack space, and while referencing after they have expired is UB, we can be reasonably confident to instead get a view of what is now currently on the stack instead, qed eat a dick"
<zid> would be my guess
<heat> just "eat a dick" sounds better to me
bauen1 has joined #osdev
<zid> Follow it with "This is a unix system, you should know this, clever girl that you are"
<zid> wait, is heat old enough to have seen jurassic park
<zid> it came out in 1997 or something
<heat> i know the reference
<heat> i'm not sure if i did see the OG jurassic park
<zid> there is only one jurassic park
<heat> it's a whole series
<zid> nope
<zid> It's one movie, then a spin off cash-grab franchise
<zid> which is entirely unrelated
<heat> sounds like a series to me
<zid> the series is, jurassic park is not connected to it
NKpop has quit [Quit: Client closed]
<zid> Like how X and twitter aren't the same service, despite a direct lineage
<zid> I tried to genz it for you
<heat> wdym X and twitter aren't the same service
<heat> they literally are, it's just a reskin
<zid> one is a paid platform for racism, one is a silly website to workshop your one-liners
<gog> i miss the halcyon days where if you had $8 you could impersonate celebrities
<ChavGPT> heat: loller
<heat> what if you were workshopping your racist one-liners
<ChavGPT> heat: lemme tell you a story fuckwad
<zid> you used truth social
<ChavGPT> my second semester in college i had "procedural programming"
<zid> or neopets
<ChavGPT> 2 person groups were created to write a project, i went solo
<heat> most sociable freebsd developer
<ChavGPT> wrote what is in retrospect a shite idea, a sysctl fs
<heat> OH
<ChavGPT> the code was fucking atrocious
<ChavGPT> anyhow
<heat> peek at /proc/sys/
<ChavGPT> that was for freebsd mon
<heat> sgtm
<ChavGPT> the person teaching did not understand kernel vs userspace
<heat> i bet linuxulator does that shit
<ChavGPT> i started explaining
<ChavGPT> she literally told me "i can learn a lot from you"
<ChavGPT> liek wtf
<ChavGPT> so ye... college
<heat> yeah
<heat> i feel you
<ChavGPT> meanwhile other students in your group are copy pasting code from last year, stackoverflow or chatgpt
<ChavGPT> which is representative of vast majority of the industry
<ChavGPT> i went solo project because there was nobody i could work with in my fucking group
<ChavGPT> i found few other clued people in other groups
rwb is now known as rb
<gog> i write my own aful broken code
<gog> i don't need machine learning or stackoverflow
<ChavGPT> there was one guy in my group larping skill
<heat> that's the spirit gog
grumbler has joined #osdev
<ChavGPT> he one one line as a get out of jail free card
<heat> you have to beat the AI bots at their own game
<ChavGPT> "embedding asm in pascal code"
<heat> pascalmao
<ChavGPT> whatever you say, he would mention pascal and asm as a way out
<ChavGPT> i'm confident he did not know either
<ChavGPT> and i suspect realities of mixing asm and pascal were pretty abysmall anyway
<gog> nah it's fine x86 is a pascal machine
<gog> it was designed for pascal
<ChavGPT> did you mean Pascal
<gog> no
<heat> x86 was designed for the linux kernel
<ChavGPT> no. it was designed for the solaris kernel
<ChavGPT> to lure it away from sparc
<ChavGPT> and it worked
<heat> linus torvalds made up the PTE format, then intel made it fit with their design
<heat> it's literally unfair
bauen1 has quit [Ping timeout: 240 seconds]
<ChavGPT> did you know his parents named him after the linux kernel
<heat> rms was at that meeting but he just made an abort() joke and left
<gog> ban abort()
<gog> i'm a republican now y'all
<heat> yeehaw yall
<gog> see my future partnership with blair white
<heat> i'm collabing with ben and abigail shapiro
<gog> nice!
<ChavGPT> i'm jocko willink's adoptive nephew
<bslsk05> ​'[YTP] Jocko' by very tall bart (00:02:24)
<ChavGPT> i'm not clicking that
<ChavGPT> recently cleared my entire browser history
<ChavGPT> i kept getting a never ending reel of peterson for some reason
<ChavGPT> now i am in the clear
<gog> lmao
<gog> yeah that'll happen
<heat> dont get peterson suggestions as a male on youtube challenge [IMPOSSIBLE]
<ChavGPT> GONE WRONG NOT CLICKBAIT
<gog> clean up your roo^Wyoutube history
<ChavGPT> EAT LOBSTER MOTHERFUCKER
<ChavGPT> fortunately there is no adsense on irc
<ChavGPT> or i would get peterson on youtube riht now
<ChavGPT> yo
<ChavGPT> so
<ChavGPT> have you seen Severance?
<ChavGPT> absolutely amazing show solaris/10
<heat> tbf i've mostly been able to control youtube's suggestions by just not clicking on things
<gog> no i've heard good things
<ChavGPT> gog: go watch it dawg
<gog> we're watching season 3 of the simpsons
<heat> season 3
<heat> you only have like 35 more seasons to go
NKpop has joined #osdev
<gog> we're not watching past season 6
<gog> or whichever Homer's Enemy was
<ChavGPT> sipmsons? huh
<gog> after Bill Oakley and Josh Weinstein left it wasn't good anymore
<heat> i did see a relatively recent episode and it was alright
<ChavGPT> sons of simps am i right
<gog> it's zombie simpsons
<gog> it can be OK
<gog> but it's never, ever going to be as good as it was
bauen1 has joined #osdev
netbsduser`` has joined #osdev
<Ermine> gog: may I pet you
<gog> yes
<bslsk05> ​i.imgur.com <no title>
<gog> where'd you get this picture of me
NKpop has quit [Quit: Client closed]
rustyy has joined #osdev
<heat> gog, thats not you, you don't use a mac
<heat> you're a GNU/Linux user
<zid> I am a windows/linux user
<zid> /mnt/c% cmd.exe
<gog> do i look like a fucken nerd?
<heat> yes
<heat> gog have you ever kissed a girl
<heat> as our dear bryan cantrill would put it
<gog> no
<gog> i use linux
Arthuria has joined #osdev
Arthuria has quit [Ping timeout: 240 seconds]
<mcrod> hi
<mcrod> i’ve kissed a girl
<sham1> Did you like it?
netbsduser`` has quit [Ping timeout: 252 seconds]
PublicWiFi is now known as CemeteryWiFi
CemeteryWiFi is now known as CryptWiFi
<ChavGPT> was it gogs :X
<ChavGPT> there are strict rules about fraternization on the channel
CryptWiFi is now known as CryptsWiFi
<FireFly> sometimes I wonder about this channel..
<kazinsal> twenty years ago this was a hardcore channel where we all pretended to be super turbo nerds working for the big OS companies
<ChavGPT> i worked for a big os company
<ChavGPT> it was big and at least claimed to be os
<kazinsal> now we're either actually turbonerds working for etc or have just enjoyed our time doing it for fun and are also gay
<ChavGPT> but ye, now you are all non-c devs for pay
<ChavGPT> or kernel
<sham1> Java paya better
<ChavGPT> CRUD is where it's at
<ChavGPT> sad but true
<kazinsal> source: would like to kernel hack in C for work but have more fun doing it casually while also being aggressively catboy on IRC
<ChavGPT> i'll ask my waifu
<ChavGPT> brb
<heat> you forgot 3) genz shitposter
<mcrod> sham1: yes
<kazinsal> unfortunately I am a few years too far old to fall under the genz gender-shitposter fold
<Ermine> Why kissing girls if we have solaris
<kazinsal> born too late to own property, born too soon to be a hot terminally online mess
<Ermine> gog: have you ever been petted today
<heat> ironically the solaris people do kiss girls
<heat> and they fuuuuuuuuuuuuuuuuuuuuck
<ChavGPT> they mostly fuck over customers
<kazinsal> why have i not gotten into solaris
<kazinsal> why did i get into openbsd
<Ermine> ah, so bryan defended solaris
<sham1> ChavGPT: thus is the Oracle way
<ChavGPT> oracle is your abusive ex gf
<sham1> I like how Oracle has evolved Java and whatnot but not gonna lie, the company is a tad shitty
<sham1> Helps that SUN was quite stagnant when it got eaten
<ChavGPT> everyone non-linux got eaten or exited the OS market
<ChavGPT> or converted to linux ofc
* ChavGPT waves at IBM
<sham1> Even Microsoft?
<sham1> Even Apple?
<ChavGPT> in this context that's unix vendors
<ChavGPT> you don't want to call apple a unix vendor, do you
<sham1> Oh yeah, in terms of Unix vendors hes
<sham1> Yes
<heat> apple is definitely a unix vendor
<ChavGPT> lol Tru64 unix innit
<ChavGPT> they may be a certified unix, but it mostly tells you about certification than unix
<ChavGPT> even windows got it, so...
<Ermine> the certification process is super suspicious
<heat> bud
<heat> macOS is 100% a UNIX
<ChavGPT> you had a vision of steve jobs last night
<heat> it's full of BSD code, works like a UNIX, the APIs are UNIX
<heat> what else do you need?
<ChavGPT> code quality is 100% unix, i give you that
Turn_Left has joined #osdev
netbsduser`` has joined #osdev
Left_Turn has quit [Ping timeout: 240 seconds]
Vercas has quit [Remote host closed the connection]
Vercas has joined #osdev
<heat> ChavGPT, you fucks tried getting entropy from unintialized stack variables
gildasio has quit [Remote host closed the connection]
<ChavGPT> :(
gildasio has joined #osdev
<ChavGPT> hey, it is GARBAGE therefore safe
skipwich has quit [Ping timeout: 248 seconds]
skipwich has joined #osdev
heat_ has joined #osdev
heat has quit [Ping timeout: 240 seconds]
skipwich has quit [Ping timeout: 240 seconds]
skipwich has joined #osdev
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
<Ermine> an unix
<Ermine> ska found non-compliance when testing stuff on macos
<gog> Ermine: i've never been petted
<gog> i found the guy whose code i'm often fixing on linkedin
<gog> what should i do
<netbsduser``> invite him to join your network
<netbsduser``> your network is your networth
<gog> true
skipwich has quit [Ping timeout: 260 seconds]
skipwich has joined #osdev
redson has joined #osdev
<redson> Hi
<sham1> hi
heat_ has quit [Remote host closed the connection]
heat_ has joined #osdev
<redson> I'm trying to understand the stack trace thing. If I call a function, the caller address goes to the stack so that it can RET, right? Then, why is rbp 0 if I'm calling it from a function called from another function?
<zid> because rbp is not the stack pointer?
<redson> 🫠
<ChavGPT> did you mean rsp
<redson> I'm getting confused by these stack registers
<redson> Lemme try with rsp...
<zid> well, there's one, rsp
<sham1> But the base pointer is the "bottom" of the stack (it's of course above the stack pointer because stack grows downwards0
<sham1> )
<gog> stack go spinny
<zid> rbp is a normal reg, ebp might be a base pointer, some of the time
<zid> in someabis
<sham1> Well rbp is also a base pointer ofc
<zid> sysv doesn't use stack frame nonsense
<zid> windows 64 bit abi might, but it also uses shadow stack space, so it can safely be ignored
<sham1> sysv used to, but then it stopped for some reason
<sham1> Annoyingly
<zid> because it just wastes a reg, and we have DWARF
<zid> most 32bit stuff was built -fomit-frame-pointer anyway
<froggey> we have plenty of registers now and dwarf is a minor nightmare to decode
Hammdist has joined #osdev
<Hammdist> hi all. I'm trying to interface with GICv2. the simplest sample code is written in zig: https://github.com/luickk/zig-gicv2/blob/main/gicv2.zig what bothers me is the gicc and gicd offsets in the code. first of all, those addresses seem phony, and why should gicc have a higher address than gicd? how would I know which base addresses are appropriate
<Hammdist> for my device (rk3328). the TRM of the device does not give the addresses. when I look at u-boot source code I get the idea that something starts at ff811000 but I do not know if it is gicc or gicd and where the other one is. any ideas?
<bslsk05> ​github.com: zig-gicv2/gicv2.zig at main · luickk/zig-gicv2 · GitHub
<Hammdist> ah I hadn't found this document earlier: https://www.kernel.org/doc/Documentation/devicetree/bindings/interrupt-controller/arm%2Cgic.txt this explains which range is which
bauen1 has quit [Ping timeout: 244 seconds]
bauen1 has joined #osdev
<Ermine> gog: may I fix the lack of pets
<gog> yes
Burgundy has quit [Remote host closed the connection]
redson has quit [Remote host closed the connection]
* grumbler hands gog a basket full of kittens
bauen1 has quit [Ping timeout: 240 seconds]
Vercas0 has joined #osdev
gildasio has quit [Ping timeout: 252 seconds]
xenos1984 has quit [Ping timeout: 240 seconds]
Vercas has quit [Ping timeout: 252 seconds]
blop has quit [Ping timeout: 252 seconds]
Vercas0 is now known as Vercas
xenos1984 has joined #osdev
gildasio has joined #osdev
blop has joined #osdev
goliath has quit [Quit: SIGSEGV]
* Ermine pets gog
gildasio has quit [Remote host closed the connection]
<bslsk05> ​lkml.org: LKML: Sergei Trofimovich: [PATCH] uapi: increase MAX_ARG_STRLEN from 128K to 6M
gildasio has joined #osdev
gildasio has quit [Remote host closed the connection]
dude12312414 has joined #osdev
gildasio has joined #osdev
<gog> wuh
gog has quit [Quit: Konversation terminated!]
<heat_> lets all contribute to illumos
<heat_> 249 people + gog
<heat_> illumos is going to the moon
<sham1> It will gog to the moon
netbsduser`` has quit [Remote host closed the connection]
netbsduser`` has joined #osdev
Irvise has quit [Quit: ZNC 1.8.2 - https://znc.in]
Thedarkb has joined #osdev
<ChavGPT> line go up
<heat_> scalability line go up
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
Irvise has joined #osdev
<heat_> what illumos bug are yall working on
goliath has joined #osdev
<ChavGPT> 31415 sparc should not be supported anymore
gog has joined #osdev
<ChavGPT> they had plans to whack it, no joe
<ChavGPT> no joke even
<ChavGPT> no idea what happened with it
xenos1984 has quit [Ping timeout: 258 seconds]
<heat_> sparc is still there
<heat_> but no arm :v
<ChavGPT> someone had armv8 port
<ChavGPT> serious
<heat_> so i've heard
<ChavGPT> it was made by a person not affiliated with the project
<heat_> where's the ticket
<heat_> gog can you work on that
<heat_> we can take it offline and we'll circle back on this next week
<ChavGPT> put the pin in the idea
<gog> no
<gog> i can't work on anything leave me alone
* ChavGPT books gog a session in a wellness room
<heat_> i thought we had collectively agreed on working on illumos, as a channel
<ChavGPT> this is now an illumos channel indeed
<ChavGPT> gog we are a family here, but at the end of the day we are also a business
<ChavGPT> if you don't think you can do the work to the best of you ability that's a different conversation
<ChavGPT> now go write me goddamn illumos patchen
<ChavGPT> heat_: there are trivially achievable scalability speed ups in illumos, want to make some for lulz?
bauen1 has joined #osdev
<heat_> i dont know
<ChavGPT> dafak you mean you don't know
<ChavGPT> YOU FUCK
<gog> i'm not coming to work today fuck off
<ChavGPT> OH
<heat_> sounds like a PITA to me
* ChavGPT writes gog up for bad behavior
<ChavGPT> heat_: meh
<gog> tell the union rep
<ChavGPT> heat_: well building it is definitely PITA-ish
<gog> i'm on vacation'
<ChavGPT> bitch you work at starbucks
<ChavGPT> we don't have unions
<gog> some of them do actually
<ChavGPT> i made sure of that!
<ChavGPT> did that pass?
<ChavGPT> i know they were union busting hardcore
<gog> i thought so idk
<gog> but yeah they wer also doing that
xenos1984 has joined #osdev
<gog> idk i think the NLRB has a pending case about it
<heat_> ChavGPT, you should totally be a manager btw
<heat_> you have it down
<ChavGPT> BRO
<ChavGPT> check it out
<ChavGPT> hello team
<ChavGPT> you are all fired
<ChavGPT> LMAO
<heat_> you are upper management material
<ChavGPT> nope
<ChavGPT> i'm not a psycho
<heat_> senior vice-president of CBT
<ChavGPT> my fav incident was oracle doing a mass layoff
<ChavGPT> where people were told to dial in to a confcall
<ChavGPT> where they were played a pre-recorded message from some lol manager
<ChavGPT> saying some shit about cloud and how proud he is
<ChavGPT> and that they are fired
<heat_> chief optimal officer
<heat_> chief manager officer?
<heat_> chief officer officer
<ChavGPT> cunt operational officer amirite
<heat_> chief obnoxious cunt
<heat_> plop
<ChavGPT> did you just abbreviate COC
<ChavGPT> heat_: it's plonk you genz fuck
<heat_> pretty sure it was plop
<heat_> oh shit
<heat_> its plonk
* ChavGPT can't believe he is about to search "obnoxious cunt" in on a mailing list
<ChavGPT> heat_: plonking is an old term, dates back at least to usenet
<ChavGPT> do you know what that is
<heat_> yes
* ChavGPT raises an eyebrow
<heat_> you should start using emojis
<heat_> 🤨
<heat_> see, much more expressive
<ChavGPT> :facepalming_at_genz:
<heat_> hi mr cantrill, are you sure these mutexes are optimal? 🤨
<ChavGPT> have you ever kissed a goat
<ChavGPT> wait
<heat_> i think these mutexes are ❗❗❗pessimal❗❗❗
<ChavGPT> they are shite af mon
<heat_> 🚫😘👧
<Ermine> i cannot open lkml, what's up?
<Ermine> so, why illumos
<heat_> we stan illumos around here
<Ermine> iirc it's opensolaris descendant
<heat_> we are well aware
<Ermine> i'm not that aware
<heat_> you see, opensolaris supported sparc and x86, illumos supports x86 and sparc
<heat_> the order makes all the difference
kpel has joined #osdev
kpel has quit [Quit: .]
Burgundy has joined #osdev
awita has joined #osdev
Arthuria has joined #osdev
Arthuria has quit [Ping timeout: 240 seconds]
<mcrod> hi
Left_Turn has joined #osdev
Arthuria has joined #osdev
Turn_Left has quit [Ping timeout: 264 seconds]
Turn_Left has joined #osdev
<CompanionCube> heat_: i believe they've dropped sparc
sortie has quit [Ping timeout: 255 seconds]
Left_Turn has quit [Ping timeout: 240 seconds]
<heat_> nope, sparc is still there
<bslsk05> ​github.com: illumos-gate/usr/src/uts/sparc at master · illumos/illumos-gate · GitHub
sortie has joined #osdev
Arthuria has quit [Ping timeout: 240 seconds]
kof213 has joined #osdev
Matt|home has joined #osdev
goliath has quit [Quit: SIGSEGV]
FreeFull has joined #osdev
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
lockna has joined #osdev
heat_ has quit [Remote host closed the connection]
heat has joined #osdev
Hammdist has quit [Quit: Client closed]
goliath has joined #osdev
rustyy has quit [Ping timeout: 258 seconds]
Irvise_ has joined #osdev
heat has quit [Read error: Connection reset by peer]
heat has joined #osdev
Irvise_ has quit [Quit: WeeChat 4.0.5]
Irvise_ has joined #osdev
stolen has quit [Quit: Connection closed for inactivity]
<ChavGPT> how (in)expensive is it to check if interrupts are disabled on arm64?
<gog> it's extremely pessimal
<ChavGPT> asking for a friend
<ChavGPT> don't mess with me with on this one gogs
<heat> cc geist
<heat> as the likelier person to know this
* gog gogs
<ChavGPT> gogs gonna gog
<heat> the insn sequence is simple, just a mrs daifset
<heat> plus a branch
<ChavGPT> brah
<ChavGPT> cli is also simple
<gog> you know what's optimal and performanty
<ChavGPT> and EXPENSIVE AF
<gog> me after some pets
<ChavGPT> pass
<ChavGPT> i picked you up earlier today
* gog hsss
<ChavGPT> not in the pickup artist sense
<ChavGPT> iw as about to write it is weird the word "artist" is used here
<ChavGPT> but then i remembered con artist
<gog> same energy
<ChavGPT> so i'm gonna raise an eyebrow at english
<ChavGPT> ey gogs, horses have three eyes
<gog> yeah they can see into the dimension of the subconscious
<gog> that's why they're so skittish
<ChavGPT> dawg
<ChavGPT> that was the line PU line i knew
<ChavGPT> i thought it is famous
heat_ has joined #osdev
agent314 has joined #osdev
<gog> what
<ChavGPT> "horses have three eyes" is a convo starter
<heat_> WHAT
<ChavGPT> you walk up to a 7 and say that
<ChavGPT> the point is to get some bullshit going
<gog> that'll never work
<ChavGPT> i never tried, no idea
<geist> cheap
heat has quit [Read error: Connection reset by peer]
<geist> to check for IRQ
<ChavGPT> the line
<ChavGPT> oh ok
<ChavGPT> ;)
<ChavGPT> geist: what's the cost of taking an interrupt trip
<gog> the irq line
<geist> note that msr daifset/clr *may* involve some sort of pipeline stall depending on the core
<ChavGPT> geist: as in turn off and on
<geist> but i think it's substantially cheaper than x86. at least you dont have to push/pop to read the current state
<geist> you just read from the daif register and mask out the i bit
<heat_> i think the real troublemaker is if you stall
<heat_> cli/sti *should* be fast, but they're not
<geist> i haven't personally seen this, but i remember someone that had worked at apple mentioned that at least their cores have some amount of expense there
awita has quit [Remote host closed the connection]
<geist> some sort of pipeline sync, maybe not a full stall, but some sort of barrier
<geist> which of course makes total sense, it should at least be functionally equivalent to an isb
<ChavGPT> cpus suck man
<ChavGPT> for real
<geist> i suspect the cost of something that adds an instruction barrier actually goes up based on how OOO the core is, since you're potentially nerfing more state
<geist> vs a simple, mostly in order core like a cortex-a53
<geist> or, say, an original pentium
<heat_> this is why CPUs should do things IN ORDER and ONE AT A TIME
<geist> riscv is even neater with regards to irq disable save/restore, since you can do an atomic set/clear and swap with the old value
<geist> you can clear and save state in the same instruction
agent314 has quit [Ping timeout: 255 seconds]
agent314 has joined #osdev
<netbsduser``> heat/companioncube: sparc is being dropped
<CompanionCube> netbsduser``: yeah i remember seeing the proposal
<netbsduser``> they are doing it slowly rather than just deleting the subtree and celebrating the sacking like goths in the streets of rome
agent314_ has joined #osdev
agent314_ has quit [Client Quit]
agent314 has quit [Client Quit]
<ChavGPT> where is the dicussion?
<pitust> netbsduser``: dropped from what?
<netbsduser``> pitust: the illumos-gate
<heat_> the sadness is immeasurable
<pitust> ah right
<mcrod> i need someone to tell me if i’m being silly
<mcrod> are ASSERT_AND_RETURN macros bad design
<CompanionCube> (btw, the thing i was thinking of is this: https://github.com/illumos/ipd/blob/master/ipd/0019/README.md)
<bslsk05> ​github.com: ipd/ipd/0019/README.md at master · illumos/ipd · GitHub
<pitust> mcrod: so like, `#define ASSERT_AND_RETURN(x, y) ASSERT(x); return y;`?
heat_ has quit [Remote host closed the connection]
<mcrod> basically
<mcrod> yes
heat_ has joined #osdev
<mcrod> the point is to make unit testing easier
<pitust> uh why?
<pitust> yeah i dont get it sounds silly
<netbsduser``> i only ever saw macros of that sort in the systemd codebase
<pitust> systemd is so high quality !!!!!! /s
<bslsk05> ​github.com: samething/src/core/src/private/core.c at main · mcroddev/samething · GitHub
<mcrod> and then a test case for it
<mcrod> easy enough
<mcrod> *but*
<ChavGPT> they had that ipd for a long time
<pitust> lol "the operating system does not currently support being cross compiled in full" sounds like a you problem
<ChavGPT> are they going though with it?
<heat_> tf is ASSERT_AND_RETURN supposed to accomplish
<mcrod> think about it
<pitust> heat_: assert, then return
<heat_> i'm trying but thinking is hard
<pitust> like #define ASSERT_AND_RETURN(x, y) ASSERT(x); return y;
<pitust> i think
agent314 has joined #osdev
<heat_> but why
<mcrod> god dammit
<mcrod> one second
<netbsduser``> i do need some clarity here
<netbsduser``> if those assertions fail then the program dies
<netbsduser``> there is nothing to return
<heat_> gosh darn*
<heat_> you're a southern gentleman
<ChavGPT> lol 2k elo mid or feed
<heat_> what
<ChavGPT> i thought you would know
<bslsk05> ​godbolt.org: Compiler Explorer
<mcrod> think what's wrong here, and that may very well be me
<ChavGPT> channeling some genz league of legends
<mcrod> I *cannot* have an assert crash the whole goddamn program
<mcrod> because that whole program is the unit test for this whole damn function
<heat_> i dont play league of legends
<mcrod> i used to
<mcrod> i regret it
<pitust> setjmp
<pitust> its called setjp
<heat_> >EXPECT_TRUE(assert_encountered);
<heat_> WHAT
<heat_> STOP
<mcrod> stop what
<heat_> DONT
<mcrod> don't what
<pitust> wait a second
<heat_> dont test this shit
<pitust> why would you test for assertions to trip?
<heat_> exactly
<heat_> like
<mcrod> why not
<heat_> assertions are invariants in your interface
<pitust> why would you test for them to trip
<pitust> i dont get it
<heat_> so why the fuck would you test that those asserts fire
<heat_> it's not a useful unit test, it's just a weird pseudo-test-churn
<mcrod> well you're right
<mcrod> it's not exactly USEFUL
<pitust> yeah so dont do it
<heat_> mcrod has LoC KPIs to fill
<heat_> in his own personal project
<mcrod> no i don't
heat_ has quit [Remote host closed the connection]
<pitust> heat_ ran away from the distress
<pitust> mcrod: are they gonna fire you from your project if you don't write at least 100 lines of unit tests?
<mcrod> i regret asking
<pitust> either setjmp, or (better option) don't test for assertions to trip
<mcrod> the idea was "test to see if these landmines actually explode on contact"
<pitust> great idea!
agent314 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<pitust> you should suggest that to people laying down mines in wars
heat has joined #osdev
<mcrod> that's... that's not the same thing
<mcrod> there is an assumption that the mine works
<pitust> yeah okay sure
<pitust> no i get it
<pitust> aren't these debug assertions that should only be built in like debug builds?
<mcrod> yeah
<mcrod> i dunno. i just think "well it's still code to test"
<pitust> so you have tests that wont work in normal builds
<pitust> they are debugging aid
<pitust> aids
<mcrod> that's not necessarily unusual, depends on how you define 'normal builds'
agent314 has joined #osdev
<mcrod> I'm splitting hairs here, but
<heat> you are
<mcrod> what did I just say
agent314 has quit [Client Quit]
<heat> exactly
<pitust> netbsduser``: the IPD also says one of the advantages of dropping SPARC is "use of Rust to implement new facilities in the kernel"
<heat> anyway assertions are not testable
<mcrod> i hate you.
<pitust> oh boy
<heat> pitust: hahahahahaahahaha
<gog> you know what's testable
<heat> my testies
<gog> no
<mcrod> for what it's worth
<sham1> I wonder, does heat have 100% coverage
<mcrod> if there's a debug assertion and the function doesn't stop
<heat> mcrod you hate me and love me
<heat> because i challenge you
<sham1> And I don't mean heat's code
<mcrod> I want to be able to say "user, there is an internal error, click "send to mcrod" for a report"
<mcrod> not just straight abort()
[itchyjunk] has joined #osdev
<sham1> Sounds like an exception in something like Java or C#
<mcrod> sure
heat has quit [Quit: Client closed]
<mcrod> i dunno. maybe i'm thinking too hard
<pitust> you are
<mcrod> i do not like the idea of having people beta test something, and it completely shits the bed and I have absolutely no idea why
<mcrod> alternatively I could just log stuff
<mcrod> and hope that someone is able to zip that up and send it to me
<mcrod> that's also what the ASSERT_AND_RETURN idea was
<mcrod> if there's a critical problem, call this function and stop what the fuck you're doing
<mcrod> and sure, that may only be in debug situations but... that's kinda the point given the parameters.
heat has joined #osdev
<mcrod> heat: i only hate you sometimes
danilogondolfo has quit [Remote host closed the connection]
Arthuria has joined #osdev
heat has quit [Quit: Client closed]
Arthuria has quit [Ping timeout: 258 seconds]
<netbsduser``> pitust: yes, there has been a chorus of men singing the praises of rust around the illumos world, and their song is reaching a fever pitch
<netbsduser``> i would not be surprised if an aggressive host of rustications started appearing in illumos soon
Turn_Left has quit [Read error: Connection reset by peer]
<gog> illumos
<moon-child> ill umos
Arthuria has joined #osdev
heat has joined #osdev
torresjrjr has quit [Ping timeout: 240 seconds]
Arthuria has quit [Ping timeout: 240 seconds]
torresjrjr has joined #osdev
agent314 has joined #osdev
joe9 has joined #osdev
FreeFull has quit []