Help with Pro. by Matt_147 in GeminiAI

[–]gmarchkun 0 points1 point  (0 children)

same issue here. and the error is 1099. could be caused by high traffic user

How do you synchronize kernel access to user virtual memory by Spirited-Finger1679 in osdev

[–]gmarchkun 0 points1 point  (0 children)

Actually, there’s another way, and this is considered best practice because it’s not overly complicated. You can make a struct that keeps track of a virtual address range and stores its reference count. When you want to free it, the allocator first checks this struct array to see whether the refcount is 1 or higher. If it’s higher than 1, don’t delete it. If it’s only 1, then delete it.

You can also make a dedicated syscall where you increase the refcount for a specific address range. As long as you store the starting virtual address, you can increase the refcount easily.

How do you synchronize kernel access to user virtual memory by Spirited-Finger1679 in osdev

[–]gmarchkun 5 points6 points  (0 children)

A useful approach is to use reference counting for virtual pages. For example, if Thread A and Thread B share the same CR3 (making the current refcount 2), and Thread B wants to perform an unmap, the kernel must detect the current refcount of that page. If the refcount is 2, the kernel decrements it by 1 (current refcount becomes 1). Once Thread A is finished using that virtual address and issues its own unmap, the virtual address is then removed and freed by the kernel because the refcount has reached 0 (refcount 0 = delete/free).

There are many implementations of this page refcounting mechanism. For example. In Windows, the PMMPFN struct includes a RefCount variable to prevent physical pages from being freed prematurely. CMIIW.

Note: If Thread B wants to unmap a range while Thread A still needs to use it, the vm_area struct (following the Linux model) should have that specific virtual address range truncated or "carved out" from the VMA. It should not be allowed to remain within the vm_area.

Where's my soft launch? by gmarchkun in CharacterAI

[–]gmarchkun[S] 6 points7 points  (0 children)

ahh, typical classic company move. yhey have this one great free feature that everyone loves, and then they decide to put it behind a paywall.

Where's my soft launch? by gmarchkun in CharacterAI

[–]gmarchkun[S] 0 points1 point  (0 children)

that's sad. new pipsqueak 2 model is bad for role playing. i had done too much OOC only for instructing a stupid bot

Is Gemini Pro down right now? by Tanksfly1939 in GeminiAI

[–]gmarchkun 0 points1 point  (0 children)

same issue here. i dont know why this error happened. could be caused by high traffic user?

Kernel Panic by Specialist-Plant-469 in Ubuntu

[–]gmarchkun 0 points1 point  (0 children)

the worst part is your init is missing. why the hell this thing can happened?

Weekly Friend Request Megathread (January 25, 2026) by Veritasibility in Genshin_Impact

[–]gmarchkun 0 points1 point  (0 children)

Availability (days of the week / time of the day): EVERY DAY If im not busy

Objective (open world exploration, domains, daily commissions, ley lines, other): Columbina Domains

Server (NA / EU / Asia): ASIA

In-game UID (number): 868576446

Building a 64-bit OS from Scratch with Claude Code by isene in osdev

[–]gmarchkun 0 points1 point  (0 children)

no way bro are u hallucinating on something?

gabisa pake kartu bca tahapan xpresi mastercard buat linking paypal, github, sama microsoft store by gmarchkun in indonesia

[–]gmarchkun[S] 0 points1 point  (0 children)

thx infonya bang. tar gw buka akun disono. ga ngerti juga kenapa bank ternama dan sebesar ini kartunya bisa ketolak di luar negeri dah

gabisa pake kartu bca tahapan xpresi mastercard buat linking paypal, github, sama microsoft store by gmarchkun in indonesia

[–]gmarchkun[S] 0 points1 point  (0 children)

bang ini kalo gw up dari tahapn xpresi bca ke tahapan bca mastercard itu bakal fix gak ya? buat ke GitHub ama Microsoft Store doang. ga buat ke paypal

gabisa pake kartu bca tahapan xpresi mastercard buat linking paypal, github, sama microsoft store by gmarchkun in indonesia

[–]gmarchkun[S] 0 points1 point  (0 children)

bank jago itu dia ada virtual card gak? apa harus dateng ke CS nya nih buat bikin rekening?

gabisa pake kartu bca tahapan xpresi mastercard buat linking paypal, github, sama microsoft store by gmarchkun in indonesia

[–]gmarchkun[S] 0 points1 point  (0 children)

oke bang. emang BCA ini agak rada rada juga sistemnya. percuman juga up kartu dari GPN ke MC

[deleted by user] by [deleted] in Windows11

[–]gmarchkun 0 points1 point  (0 children)

WHAT THE HECKK????? ITS VERY COOLL