Re: x86_64 limit of 454 cpu's?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> 
> I think that it is good to check the format of the header though
> makedumpfile sets header->nr_cpus of course.
> 
> So I think that the following code is better.
> 
> if ((DISDUMP_VALID() &&
>     sizeof(*header) + sizeof(void *) * header->nr_cpus > block_size) ||
>     header->nr_cpus <= 0) {
>         error(INFO, "%s: invalid nr_cpus value: %d\n",
>             DISKDUMP_VALID() ? "diskdump" : "compressed kdump",
>             header->nr_cpus);
>         goto err;
> }
> 
> And,
> - makedumpfile doesn't use tasks array as Indoh-san said.
> - I don't think that makedumpfile malfunctions for CPUs more than 454.
> 
> 
> Thanks,
> tachibana

Thanks Tachibana -- queued for the next release.

Dave


--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility


[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux