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
LittleFox has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
LittleFox has joined #osdev
pretty_dumm_guy has quit [Quit: WeeChat 3.5]
Gooberpatrol66 has quit [Remote host closed the connection]
Gooberpatrol66 has joined #osdev
[itchyjunk] is now known as [itchTheIndiffer
[_] has joined #osdev
[itchTheIndiffer has quit [Ping timeout: 245 seconds]
elastic_dog has quit [Ping timeout: 245 seconds]
dude12312414 has joined #osdev
elastic_dog has joined #osdev
dude12312414 has quit [Client Quit]
<bslsk05> ​www.theregister.com: Small but mighty, 9Front's 'Humanbiologics' is here • The Register
<blockhead> unusual to use the verb "emit" for releasing software, it's as if the writer of the article disaproved
kline has joined #osdev
<kline> is there any trick to getting pointer state data from uefi with ovmf/qemu? maybe im not passing the right flags? im trying to get some stuff going - graphics, serial, etc work fine but the pointer read_state() always indicates that no change in the pointer was detected
<bslsk05> ​gist.github.com: main.rs · GitHub
Hammdist has joined #osdev
alfplayer has quit [Ping timeout: 252 seconds]
kanzure has quit [Remote host closed the connection]
cow321 has joined #osdev
cow321 has quit [Remote host closed the connection]
cow321 has joined #osdev
rpnx has joined #osdev
srjek has quit [Ping timeout: 252 seconds]
heat has joined #osdev
dude12312414 has joined #osdev
dude12312414 has quit [Remote host closed the connection]
heat has quit [Ping timeout: 256 seconds]
stolen has joined #osdev
cow321 has quit [Remote host closed the connection]
cow321 has joined #osdev
gbowne1 has quit [Quit: Leaving]
Vercas has quit [Remote host closed the connection]
Vercas has joined #osdev
mkwrz has quit [Ping timeout: 255 seconds]
cow321 has quit [Remote host closed the connection]
mkwrz has joined #osdev
cow321 has joined #osdev
mkwrz has quit [Ping timeout: 252 seconds]
mkwrz has joined #osdev
zetef has joined #osdev
Matt|home has quit [Quit: Leaving]
netbsduser has joined #osdev
mkwrz has quit [Ping timeout: 256 seconds]
mkwrz has joined #osdev
netbsduser has quit [Ping timeout: 246 seconds]
mkwrz has quit [Ping timeout: 276 seconds]
mkwrz has joined #osdev
mkwrz has quit [Ping timeout: 255 seconds]
zetef has quit [Ping timeout: 245 seconds]
zetef has joined #osdev
stolen has quit [Quit: Connection closed for inactivity]
Hammdist has quit [Quit: Client closed]
cow321 has quit [Ping timeout: 245 seconds]
goliath has joined #osdev
mkwrz has joined #osdev
mkwrz has quit [Ping timeout: 260 seconds]
zetef has quit [Ping timeout: 245 seconds]
zetef has joined #osdev
GeDaMo has joined #osdev
mkwrz has joined #osdev
mkwrz has quit [Ping timeout: 245 seconds]
\Test_User has quit [Quit: \Test_User]
danilogondolfo has joined #osdev
\Test_User has joined #osdev
stdin has joined #osdev
rpnx has quit [Quit: My laptop has gone to sleep.]
mkwrz has joined #osdev
mkwrz has quit [Ping timeout: 260 seconds]
heat has joined #osdev
zetef has quit [Ping timeout: 264 seconds]
alfplayer has joined #osdev
gog has joined #osdev
zetef has joined #osdev
zhiayang_ has joined #osdev
pretty_dumm_guy has joined #osdev
zhiayang has quit [Ping timeout: 260 seconds]
zhiayang_ is now known as zhiayang
mkwrz has joined #osdev
mkwrz has quit [Ping timeout: 252 seconds]
Left_Turn has joined #osdev
<zid> Day 4 done, actually felt day 4 level
<zid> p2 submitted correct on the first try, which is always a nice feel
<gog> noice
<gog> there's nothing left in the sprint except a currently dead-ended project
<gog> i'm afraid to ask about it
<gog> i really don't know what to do about getting it off the ground again haha
<zid> I've been doing fuck all all year
<zid> so I need this to stay active
<heat> <gog> i'm afraid to ask about it
<heat> don't
<heat> hth
<zid> heat go do day 1 ffs
zetef has quit [Ping timeout: 245 seconds]
<heat> no
<zid> heat go do day 2 ffs
<gog> i asked him and he said don't bother with it yet
<heat> el jefe
<kof123> (from hours ago) "emit" "artifacts" <goes to read link> i don't know, there is a chemistry to it
<kof123> that part is a lie, they just keep ocding lol > It's a little bit like the element of Persian politeness called taarof: when somebody offers something to someone, they expect to be refused, typically three times. Determination will be rewarded.
<kof123> other persians will confirm this lol
zetef has joined #osdev
Cindy has quit [Remote host closed the connection]
mkwrz has joined #osdev
bnchs has joined #osdev
bnchs is now known as Cindy
mkwrz has quit [Ping timeout: 246 seconds]
<kof123> > To the world of commercial Unix users, Plan 9 wasn't worth the disruption, so they just ignored it and continued with what worked acceptably. (other link) > All the proprietary, commercial Unixes are now on life support:
<kof123> i think that says it all :D
<heat> you're skipping the most commercial UNIX of all, Linux
<heat> just because it's not proprietary does not mean it's not commercial
<zid> I think you mean biggest commercial unix
<zid> it isn't the most commercial unix
<kof123> i agree, just quoting the register, plan9 did gpl and now bsd/mit licensing too it looks like
<zid> The most commercial unix is 100% osx
<kof123> ^ that's what the register said
<heat> hmm, good point zid
<heat> but the most commercial UNIX cannot be OSX
<heat> osx still has open components
<zid> The most commercial posix is windows
<zid> doesn't mean anything
<heat> WINDOWS SUS WINDOWS SUS WINDOWS SUS
<zid> if you can't install it without buying $4000 hardware
<zid> and it's vendor locked to stop you installing anything else with drm
<zid> it's like saying netflix is communist because they served a copy of a free web seminar
<heat> you can install it without mac hardware
<zid> no you can't
<heat> hackintosh?
<zid> bro
<zid> what is the first four letters of that
<heat> tosh?
<heat> sorry i can't read very well
<zid> bad troll
<zid> is bad
<heat> anyway the base system like 100% supports any hardware you throw at it
<heat> at least on the x86 end
<heat> and that's mostly what I'd consider "the UNIX system"
<heat> oh btw, re macOS: https://github.com/darlinghq/darling
<bslsk05> ​darlinghq/darling - Darwin/macOS emulation layer for Linux (417 forks/10599 stargazers/GPL-3.0)
<heat> found this today
<zid> cute
<zid> the time you spent finding that
<zid> would have been enough to do day 1-3
roper has joined #osdev
zhiayang_ has joined #osdev
zhiayang has quit [Ping timeout: 255 seconds]
zhiayang_ is now known as zhiayang
<Ermine> heat: which poll do you mean?
Turn_Left has joined #osdev
<heat> what
<heat> context?
zetef has quit [Ping timeout: 256 seconds]
Left_Turn has quit [Ping timeout: 260 seconds]
<Ermine> Ah, I misread your message. Sorry for disturbing
zxrom has quit [Quit: Leaving]
<Ermine> This one: "yeah poll needs a bunch of space for OPTIMIZATIONZ"
<heat> yeah IIRC both select and poll's implementation (on Linux) do it
<heat> idea being that running ->poll on the actual files is so stack-cheap that they use up a bunch of it to avoid kmalloc on every poll call, for "reasonable" callers
<heat> it's a cute idea, i don't have it in Onyx and because of that kmalloc is visible in poll-intensive flamegraphs
mkwrz has joined #osdev
zetef has joined #osdev
<zid> FD_SET fds_in, fds_out, fds_temp;
<zid> needs more stack useage, any ideas?
mkwrz has quit [Ping timeout: 256 seconds]
<heat> FdSetFacadeFactory factory = FdSetFacadeFactorySingleton.get();
lojik has quit [Quit: ZNC 1.8.2 - https://znc.in]
lojik has joined #osdev
raphaelsc has joined #osdev
mkwrz has joined #osdev
mkwrz has quit [Ping timeout: 260 seconds]
pretty_dumm_guy has quit [Quit: WeeChat 3.5]
pretty_dumm_guy has joined #osdev
mkwrz has joined #osdev
srjek has joined #osdev
stdin has quit [Read error: Connection reset by peer]
stdin has joined #osdev
zetef has quit [Ping timeout: 260 seconds]
mkwrz has quit [Ping timeout: 268 seconds]
srjek has quit [Ping timeout: 245 seconds]
mkwrz has joined #osdev
mkwrz has quit [Ping timeout: 246 seconds]
kanzure has joined #osdev
<kline> is there any trick to getting pointer state data from uefi with ovmf/qemu? maybe im not passing the right flags? im trying to get some stuff going - graphics, serial, etc work fine but the pointer read_state() always indicates that no change in the pointer was detected
<bslsk05> ​gist.github.com: main.rs · GitHub
[itchyjunk] has joined #osdev
zetef has joined #osdev
[_] has quit [Ping timeout: 268 seconds]
stdin has quit [Read error: Connection reset by peer]
mkwrz has joined #osdev
stdin has joined #osdev
mkwrz has quit [Ping timeout: 252 seconds]
mkwrz has joined #osdev
mkwrz has quit [Ping timeout: 240 seconds]
mkwrz has joined #osdev
zxrom has joined #osdev
mkwrz has quit [Ping timeout: 240 seconds]
zetef has quit [Ping timeout: 256 seconds]
blockhead has quit []
srjek has joined #osdev
mkwrz has joined #osdev
zetef has joined #osdev
xenos1984 has quit [Read error: Connection reset by peer]
xenos1984 has joined #osdev
goliath has quit [Quit: SIGSEGV]
zetef has quit [Ping timeout: 245 seconds]
dzwdz has quit [Ping timeout: 260 seconds]
<raphaelsc> hello everyone, coming back to #osdev after many years. I was a nerd living in my mother's basement, now I have a family and two kids.
<GeDaMo> Do they all fit into your mother's basement? :|
dzwdz has joined #osdev
cow321 has joined #osdev
zetef has joined #osdev
<kof123> so...you will make your wife and kids work on the project?
Left_Turn has joined #osdev
netbsduser has joined #osdev
rustyy has quit [Quit: leaving]
Turn_Left has quit [Ping timeout: 255 seconds]
heat has quit [Read error: Connection reset by peer]
heat has joined #osdev
cow321 has quit [Remote host closed the connection]
<raphaelsc> GeDaMo, now I am building my own basement so my offspring can continue this tradition.
<raphaelsc> kof123, let's see :-)
<sortie> They kept digging deeper and deeper
stdin has quit [Remote host closed the connection]
cow321 has joined #osdev
stdin has joined #osdev
zetef has quit [Ping timeout: 264 seconds]
cow321 has quit [Remote host closed the connection]
cow321 has joined #osdev
gog has quit [Quit: Konversation terminated!]
flom84 has joined #osdev
stdin has quit [Read error: Connection reset by peer]
<netbsduser> does anyone know of any resources on what the VM2 project in Solaris involved?
virt has joined #osdev
<netbsduser> all i've really been able to find is jonathan adams' CV where he touches on it very briefly; that it involved replacing the resident page management with something new that dealt better with NUMA and big pages, and the Intimate Shared Memory feature
<gorgonical> I've become aware in the past few days that power isa is actually open, and that a chisel softcore implementation exists
<gorgonical> Makes me interested in porting my single core cpu
xenos1984 has quit [Ping timeout: 260 seconds]
xenos1984 has joined #osdev
Matt|home has joined #osdev
flom84 has quit [Remote host closed the connection]
virt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
virt has joined #osdev
edr has joined #osdev
q3lont has joined #osdev
<mcrod> hi
<gorgonical> hi
ecs_ has joined #osdev
mcrod_ has joined #osdev
innegatives_ has joined #osdev
Effilry has joined #osdev
graphitemaster has quit [Ping timeout: 252 seconds]
FireFly has quit [Ping timeout: 252 seconds]
aosync has quit [Ping timeout: 252 seconds]
edr has quit [Ping timeout: 252 seconds]
manawyrm has quit [Ping timeout: 252 seconds]
innegatives has quit [Ping timeout: 252 seconds]
mcrod has quit [Ping timeout: 252 seconds]
ecs has quit [Ping timeout: 252 seconds]
dinkelha1 has quit [Ping timeout: 252 seconds]
nortti has quit [Ping timeout: 252 seconds]
slow99 has quit [Ping timeout: 252 seconds]
mcrod_ is now known as mcrod
nortti_ has joined #osdev
ecs_ is now known as ecs
dinkelha1 has joined #osdev
slow99 has joined #osdev
manawyrm has joined #osdev
nortti_ is now known as nortti
<gorgonical> holy jesus I finally got it
<gorgonical> My poll implementation is finally fast. What a nightmare this has been
<gorgonical> If I weren'
<gorgonical> t trying to lose weight I would be declaring that it's beer oclock already
graphitemaster has joined #osdev
zxrom has quit [Quit: Leaving]
<netbsduser> gorgonical: how was it slow before?
q3lont has quit [Read error: Connection reset by peer]
q3lont has joined #osdev
zxrom has joined #osdev
dude12312414 has joined #osdev
joe9 has joined #osdev
rpnx has joined #osdev
<sortie> gorgonical, that's really nice :)
<sortie> The biggest effort I put into poll was to make sure it idled perfectly
<sortie> So if nothing is pending => CPU halts
<gorgonical> netbsduser: I was unintentionally serializing a part that shouldn't have been, so I was sometimes double-waiting, as well as not correctly returning up the pollstack when an event came in during wait
q3lont has quit [Quit: Leaving]
<gorgonical> All this massively complicated because I have to do some of the pollfds in batch by sending a message to Linux who polls them there instead. So parallel poll stacks with extra state tracking
netbsduser has quit [Ping timeout: 264 seconds]
<heat> never gorgonical questions
<heat> never ask*
<heat> the more questions you ask, the more you know about gorgonical's kernel war crimes
<gorgonical> in the mysterious land of os research I have license to commit as many crimes as I need
<gorgonical> as long as I can publish a paper about it
<mjg> there is no os research
<mjg> you only get a bunch of wankers webdeving it
<gorgonical> This next task is much more mundane: give the kernel dynamic loader support
<bslsk05> ​lore.kernel.org: Re: [RFC PATCH 2/6] mm/gmem: add arch-independent abstraction to track address mapping status - David Hildenbrand
rpnx has quit [Quit: My laptop has gone to sleep.]
<heat> Can you kiss girls? - bmc 2023
<mjg> lol
<mjg> to your credit you mostly had a point
<mjg> but also expressed it in a very lkmly manner
<mjg> that said i don't know wtf OP was thinking
<heat> lkmly manner would be something like obnoxious c-word
<mjg> no
<mjg> that's on steroids
gxt has quit [Ping timeout: 240 seconds]
<mjg> anyhow i am not sure if what you wrote is all that relevant to what the fucking guy is trying to do
<mjg> more of a side rant about teh bsds
gxt has joined #osdev
<mcrod> i need to go to the gym
rpnx has joined #osdev
<heat> mjg
<heat> The future plan of logical page table is to provide a generic
<heat> >> abstraction layer that support common anonymous memory (I am looking at
<heat> >> you, transparent huge pages) and file-backed memory
<heat> he wants to freebsd all over my linux
<heat> note that logical page table is this vm_object which is not really a vm_object
<moon-child> do lkml posters kiss girls
<mjg> this is why i mentioned your rant about vm_objects is not relevant
<heat> ofc not
<mjg> dude just borrowed a term
<mjg> or rather, a word
<heat> well because the patchset kinda sucks
netbsduser has joined #osdev
<heat> there's little to no advantage in vm_objects if its just another layer
<heat> in this case i don't even get what he's trying to accomplish
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
frkazoid333 has quit [Ping timeout: 268 seconds]
<zid> heat: lkml users kiss boys
<zid> peterz is so dreamy
goliath has joined #osdev
<heat> thirsting over a linux kernel developer may just be this channel's new low point
<heat> that said, peterzaddy
<heat> today i found out hugh dickins's email address is hughd@google.com
<heat> the motherfucker
<heat> just
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
gbowne1 has joined #osdev
rpnx has quit [Quit: My laptop has gone to sleep.]
<mcrod> that's genius
<mcrod> that man deserves to work at google
<netbsduser> heat: holy shit
<netbsduser> the words "pmap" and "vm_object" appearing in the linux vmm
<gorgonical> am I missing something with the email thing
<heat> netbsduser, honestly i'd go back to windows full time if that happened
<heat> gorgonical, dawg, hughd
<heat> hughd
<heat> hughd
<zid> gorgonical: you're missing that heat says the word hugh wrong
<netbsduser> gorgonical: it's a concession to the Mach tradition of VM design (as largely continued though to varying extents in the 5 BSDs) unprecedented since 2002 when Matt Dillon was invited to the Linux mailing lists, an encounter that brought pv_lists to linux (but they called it rmaps)
<heat> rmaps are a lot cheaper and different than pv lists
<netbsduser> how do they differ?
<heat> pv lists are per-page and require a page to have an extra list_head just for rmap
freakazoid332 has joined #osdev
<heat> linux rmaps are just anon_vma/file-mapping interval trees
<heat> you never know it *is* mapped, you know it *can* be mapped
<heat> but you get 16 bytes from your struct page and it's probably a good bit cheaper to actually map things
<heat> (anon_vma IIRC isn't quite an interval tree, but it has the same idea)
zetef has joined #osdev
<mjg> afair dfly does not do pv_lists either
Effilry is now known as FireFly
zetef has quit [Ping timeout: 255 seconds]
zetef has joined #osdev
cow321 has quit [Ping timeout: 252 seconds]
cow321 has joined #osdev
rpnx has joined #osdev
cow321 has quit [Remote host closed the connection]
blockhead has joined #osdev
cow321 has joined #osdev
cow321 has quit [Remote host closed the connection]
netbsduser has quit [Ping timeout: 255 seconds]
cow321 has joined #osdev
rpnx has quit [Quit: My laptop has gone to sleep.]
roper has quit [Quit: leaving]
rpnx has joined #osdev
xenos1984 has quit [Ping timeout: 268 seconds]
cow321 has quit [Remote host closed the connection]
benaldo has joined #osdev
cow321 has joined #osdev
goliath has quit [Quit: SIGSEGV]
xenos1984 has joined #osdev
vdamewood has joined #osdev
rpnx has quit [Quit: My laptop has gone to sleep.]
rpnx has joined #osdev
kof123 has left #osdev [#osdev]
cow321 has quit [Remote host closed the connection]
freakazoid332 has quit [Ping timeout: 256 seconds]
frkzoid has joined #osdev
cow321 has joined #osdev
Bonstra_ has quit [Ping timeout: 276 seconds]
cow321 has quit [Remote host closed the connection]
cow321 has joined #osdev
Bonstra has joined #osdev
zetef has quit [Remote host closed the connection]
Left_Turn has quit [Ping timeout: 276 seconds]
rpnx has quit [Quit: My laptop has gone to sleep.]
rpnx has joined #osdev
rpnx has quit [Quit: My laptop has gone to sleep.]
<bslsk05> ​gist.github.com: 2023-day4.c · GitHub
vivihexe has joined #osdev
Hammdist has joined #osdev
<heat> >single letter variables
<heat> truly musl code
<zid> You're just over-exposed to uefi
<zid> It's normal to name loop counters i and j
<heat> char buf[256];
<heat> char *p;
<heat> int *w, *g;
<zid> w and g I will grant you
<zid> p is legal, buf is not one char
<heat> sorry if I prefer UINT32 Index and UINT32 Jindex
<Cindy> can i set w and g to be a point somewhere in buf?
<Cindy> pointer*
<zid> w and g are just pointers to members named w and g :D
heat has quit [Remote host closed the connection]
rpnx has joined #osdev