jakobkummerow (Jakob Kummerow)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

User Since
Thu, Feb 13, 11:13 AM (3 d, 17 h)
Availability
Available

Recent Activity

Thu, Feb 13

jakobkummerow added a comment to D27362: Linux/cpuinfo.c: grow buffer size as needed for 12+ core CPUs.

ahiemstra: Thanks! I don't have commit access, so I'd appreciate it if you could land this for me.

Thu, Feb 13, 4:09 PM · Plasma
jakobkummerow updated the diff for D27362: Linux/cpuinfo.c: grow buffer size as needed for 12+ core CPUs.

Minor update: size_t instead of int.

Thu, Feb 13, 3:01 PM · Plasma
jakobkummerow updated the diff for D27362: Linux/cpuinfo.c: grow buffer size as needed for 12+ core CPUs.

OK, here's a version that scales the buffer size as needed.

Thu, Feb 13, 3:00 PM · Plasma
jakobkummerow added a comment to D27362: Linux/cpuinfo.c: grow buffer size as needed for 12+ core CPUs.

cfeck: Sure, an even better long-term fix would be to stop depending on a hard-coded buffer size. Interleaved reading and parsing would be one way to achieve that; another way would be a dynamic buffer size: start small, and if it's too small then allocate a new buffer that's twice as large and try again.

Thu, Feb 13, 1:07 PM · Plasma
jakobkummerow requested review of D27362: Linux/cpuinfo.c: grow buffer size as needed for 12+ core CPUs.
Thu, Feb 13, 11:22 AM · Plasma